Finding a value from spectogram

조회 수: 1 (최근 30일)
Lucrezia Cester
Lucrezia Cester 2020년 2월 28일
댓글: Mathieu NOE 2023년 11월 9일
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
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
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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by