MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
designFilt error ONLY inside function
Vicente - 2021-02-18

I'm using designFilt to make a simple bandpass filter for some data before doing further analysis:     myfilt = designfilt('bandpassfir','FilterOrde...

Why Cross Correlation (xcorr) of Two simultaneously Recorded Audio Signals Always return randomly different lags?
ishitaisha6840 - 2021-02-18

Hi everyone! I'm working on a sound localization project in which I record two audio  signals simultaneously and then take their 'cross correlation' ...

matlab which filtfilt function handles filter objects
Rebekah - 2021-02-18

According to matlab's filtfilt documentation, it can receive several arrays (depending in which representation; a-b, sos-k-g; you are using) and a fi...

How do I record the entire row of a matrix if it has a peak value in the third column?
Tanner - 2021-02-18

I have a 3 column matrix, xyK, that contains x and y coordinates and the value of curvature at each of those coordinates. I'm trying to find the peak ...

Find quasi-periodic peak locations from noisy photon count data
yun-hun-jmai - 2021-02-18

I am trying to find the method of locating the gaussian peaks from the photon count data. x axis is the number of photons for each spot and y axis is ...

Why is noise required to get expected Magnitude Squared Coherence (mscohere)
Anwaruddin - 2021-02-12

I am missing something with magnitude Squared Coherence and/or its algorithm. If two signals are compared without or with little noise I get unexpecte...

How to use 'idfrd' system object as a channel model in simulink
Oscar - 2021-02-12

I have created an idfrd object using measured frequency response data (using Magnitude/Angle measurements). Now I want to incorporate this data into a...

Savitsky-Golay Filter Problem - Smoothing 3D line
Victoria - 2021-02-12

I wanted to smooth a 3d line using the Savitzky-Golay filter, but for this example is seems to not work properly. Any ideas why, and how to fix it?  ...

Removing spikey data from a sensor readout.
Lucy-sam01 - 2021-02-12

I have a loop which reads out a sensor, once in a while the data is completely off, and gives a spike. I would like to remove those spikes.   The dat...

spectrogram error in matlab
Matilda - 2021-02-12

Hello, I am trying to plot a spectrogram using MATLAB at home but I am getting the following error:   Undefined function 'spectrogram' for input argu...

Get a Free Consultation or a Sample Assignment Review!