MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
interpolate data in timeseries
Spiliopoulos - 2021-12-08

Hi all,   I have a timeseries vector lets say with 7 points : v=[0.18 3.15 0.18 0.16 0.17 0.58 0.33 ];   I would like to create a new vector by inte...

Simple for loop taking way longer than it should
Samantha Huff - 2021-12-08

I am running a for loop on 10 million lines of data and it has taken over a day and is still running. I have preallocated the array I am modifying acc...

Solve an equation that has data arrays as constants
Diego Torres-Siclait - 2021-12-08

Hello,   I want to solve the following equation:   1/c0 c^2 - c +X*t / c0 = 0   where c0 is a given constant but X and t are constant arrays: they ...

How to get from discrete time impulse response vector to plot of frequency spectrum
Joseph_deep - 2021-12-07

Hello,   I'm very new to DSP concepts and  signal processing in MATLAB so please go easy on me. I have the following code that I've begun working on...

filter coefficients
Wayne_King - 2021-12-07

Just a quick question - are 'filter coefficients' the coefficients of the impulse response, desired transfer function, or actual transfer function?  ...

Export Audio with Volume Automation
Mathieu_smith_32 - 2021-12-07

Dear Community,   I would like to print a sinewave with volume automation in mathlab. I am already able to print a stereo wave file with a fixed ampl...

can anybody explain the commented line of the code
Maaz_rao - 2021-12-07

fs = 512; X = [-2 1 -3 5 -1 3 -4 4 -2]; lX = length(X)-1; Y = -diff(X)/2.*cos(pi*(0:1/fs:1-1/fs)') + (X(1:lX)+X(2:lX+1))/2; % Y = [Y(:);X(end)]; plot(...

How do I calculate the amplitude ratio and phase lag for two sinusoidal signals in MATLAB?
widyaningtyas - 2021-12-07

How do I calculate the amplitude ratio and phase lag for two sinusoidal signals in MATLAB?  ...

Decomposition object saveobj method not supported?
Shumao Zhang - 2021-12-07

Hi there, I need to perform a lot of computation. I am using some sort of 3D histogram, which is filled with logs about entitites for each cell. Each ...

HOW CAN I CALCULATE THE SIGNAL TO NOISE RATIO(SNR) OF A CHIRP SIGNAL
rahman_sid - 2021-12-06

I have a signal which is comprised of 4 chirp signals and an additive noise with the same sampling frequency and size is generated now i need to calcu...

Get a Free Consultation or a Sample Assignment Review!