problems understanding pspectrum function
4 views (last 30 days)
Show older comments
Sören Gevaert
on 4 Mar 2020
Answered: Bjorn Gustavsson
on 4 Mar 2020
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
0 Comments
Accepted Answer
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
0 Comments
More Answers (0)
See Also
Categories
Find more on Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!