MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
FindPeaks() of a 1024 x 116 Matrix
Ximena - 2021-01-27

I have a matrix that I read into MatLab that is 116 spectra (columns) each being 1024 elements (rows). Each spectrum has a peak and I'm looking to det...

question about the signal smoothing example
Addilynn - 2021-01-25

Hello,   I have a question about the  signal smoothing example given in the documentation of Matlab.   load bostemp   days = (1:31*24)/24; plot(da...

Issue in finding Power Spectral Density of fitted curve
ishitaisha6840 - 2021-01-25

I have a respiration signal which is sinusoidal in shape. I have fitted the curve using Fourier series. Since the fitted curve is in cfit format, I am...

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...

Get a Free Consultation or a Sample Assignment Review!