Finding a value from spectogram
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274237/image.png)
I created this spectogram through a vector of amplitudes.
How can I find the max(:) Power/Frequency of this graph if I wasn't to graph it but just writing a line of code? I have many such vectors and I can't look at the spec for each one.
5 个评论
Rodrigo Rodrigues Bessa
2023-11-8
编辑:Rodrigo Rodrigues Bessa
2023-11-8
if you generate a handle for the colorbar after creating the spectrogram, you can see its max and min
spectrogram(y)
c = colorbar
c.Limits
Mathieu NOE
2023-11-9
hi
it's not clear to me if you want the overall max of the entire spectrogram or if you want the max of the spectrum for each time slice (i.e each fft output) - in the second case you end up with a line of multiple maxima vs time.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!