problems understanding pspectrum function

5 views (last 30 days)
hi, im having problems understanding the pspectrum function for matlab. I obtain data for 60seconds. each sample i obtain the amplitude and the associated timepoint. So i get 2 matrixs(amplitude matrix and time matrix). now i want to see the spectogram of this signal using pspectrum. i understand that it is possible to devide the data into windowsegments and specify an overlap. but i dont quite know how to do this. also what should i give as input argument(amplitude matrix, time matrix, both) and how to specify the frequency resolution? so the arguments i want to give are: windowlength, overlap, input argument(amplitude,time or both), frequency resolution. and from that i want to see the spectogram.
thanks in advance
kind regards

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 4 Mar 2020
The help and documentation to the spectrogram function might be a bit more extensive when it comes to the input parameters you ask for. So you might have an easier time using that function. They should do the same when it comes
to time-resolved spectrogram calculations.
HTH

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!