problems understanding pspectrum function

4 Ansichten (letzte 30 Tage)
Sören Gevaert
Sören Gevaert am 4 Mär. 2020
Beantwortet: Bjorn Gustavsson am 4 Mär. 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

Akzeptierte Antwort

Bjorn Gustavsson
Bjorn Gustavsson am 4 Mär. 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

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by