Finding a value from spectogram

1 Ansicht (letzte 30 Tage)
Lucrezia Cester
Lucrezia Cester am 28 Feb. 2020
Kommentiert: Mathieu NOE am 9 Nov. 2023
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 Kommentare
Rodrigo Rodrigues Bessa
Rodrigo Rodrigues Bessa am 8 Nov. 2023
Bearbeitet: Rodrigo Rodrigues Bessa am 8 Nov. 2023
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
Mathieu NOE am 9 Nov. 2023
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by