MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Sum five elements before a specific number
Kathryn - 2021-01-25

Hi, I used "findpeaks" to find the IDs of all the peaks in my data. I need for each peak to find the average of five elements before it. the problem i...

Trying to make a chirp (sweep) in matlab with random frequency
Christian - 2021-01-25

Hi guys!   I have been trying to make a chirp function in which the frequency is changing randomly through the time   my parameters are this t1=0 t2...

How to calculate the filter order of given specification ??
Harper - 2021-01-25

Hi, i designed a filter using :   d1=designfilt('lowpassfir','PassbandFrequency',0.45,'StopbandFrequency',0.5,'PassbandRipple',3,'StopbandAttenuation...

error in returning widths over iterated findpeaks
Brianna - 2021-01-25

Hi, I am trying to use findpeaks over a matrix, x, column by column. I am using a for loop as below:   for k=1:size(x,2) [P{k},locs{k},widths,proms{k...

fft dim parameter when ndims(x) > 2
Genesis - 2021-01-19

fft dim shows how dim parameter is used for multidimensional  signals of ndims(X) = 2 When ndims(X) > 2 how is it used? (I cannot use fftn here.)...

collect 400 samples from a LFM (5MHz bandwidth) signal modulated on 18GHz
Nehemiah - 2021-01-19

f_sweep = 5e6; fs = f_sweep * 4.121; sLFM = phasedLinearFMWaveform('SampleRate',fs,'SweepBandWidth',f_sweep,'PulseWidth',1e-3); lfmwav = setp(sLFM); c...

How to calculate period of signal with matlab
Teagan - 2021-01-19

Hi , I have the signal x2(t)=|cos(10*pi*t)|.How can i calculate its period with matlab?I am new  matlab so each help will be usefull...

FFT of Downsampled Signal
Oliviawilliams02 - 2021-01-19

I have an aperoidic signal that is being sampled at a very high frequency, 3.125 MHz. The signal is sampled for 8 minutes, leaving me with a very larg...

problem in plotting fft for set of samples
Timothy - 2021-01-19

i am trying to plot FFT  samples vs freq.. bt not getting the exact peak at expected frequency. i have attached the samples in excel sheet,..plz can ...

Need Help about FFT and STFT
Mikaela_sf - 2021-01-19

I got a large amount of data, more than 5mb, so I can’t upload it. I would like to ask, my data is three xyz three-axis data collected from accelera...

Get a Free Consultation or a Sample Assignment Review!