How to extract acoustic samples containing high decibels

1 view (last 30 days)
[y,fs]=waveread(‘file.wav’) How can know y content high decibel

Answers (1)

KSSV
KSSV on 9 Sep 2020
To know high values, use max.
[val,idx] = max(f) ;
val
f(idx)
y(idx)
To get the values lying beyond certian given values, use:
idx = f>val ;
f(idx)
y(idx)
  7 Comments
KSSV
KSSV on 9 Sep 2020
If the formula is correct..then what you did is correct.
Esraa abd Altoni
Esraa abd Altoni on 9 Sep 2020
I know the formula is corret but I don’t know if this formula calculates the decibels

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!