フィルターのクリア

Estimate volume from extracted pulse

2 ビュー (過去 30 日間)
Kcire L
Kcire L 2021 年 3 月 9 日
コメント済み: Star Strider 2021 年 3 月 9 日
Hello,
I have extracted a pulse from an audio signal and would like to see if I can determine volume from each pulse. Does anyone have an idea of how to do this? I worked with trapz to find the area under the curve but was wondering if there was another way, or a better way. I need to relate these pulses to measurements of volume.
Thank you for any help.

採用された回答

Star Strider
Star Strider 2021 年 3 月 9 日
Since you are dealing with vectors and not functions, trapz (or cumtrapz, depending on the result you want) is likely the only way to get the areas under each curve.
I am not certain what you are referring to with respect to ‘volume’, since that implies a third dimension.
  2 件のコメント
Kcire L
Kcire L 2021 年 3 月 9 日
What about power or intensity? Could I characterize these pulses in terms of power (i.e. this pulse with this duration and amplitude produces this much power)?
Thanks again for the response.
Star Strider
Star Strider 2021 年 3 月 9 日
My pleasure.
Power is amplitude squared by definition, so square them first and then integrate them.
Another possibility is to calculate the RMS (root-mean-squared) value of each one. Calculate that by taking the square root of the mean of the squared values of each waveform:
RMS = sqrt(mean(waveform.^2))
where ‘waveform’ is each record (vector). That is likely better than simply integrating them, in that it is an accepted method of standardising them.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by