problems understanding pspectrum function
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Bjorn Gustavsson
2020-3-4
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!