measure event duration in spectrogram

1 view (last 30 days)
LO on 11 Apr 2019
How could one measure the duration of an event in seconds based on spectrogram data and related parameters (nfft, overlap, Fs) ?
I tried the following formula
real duration = [ calculated duration /(1-overlap)*nfft ] * Fs
but it seems something is not exactly right

Answers (0)


Find more on Time-Frequency Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!