フィルターのクリア

How can I get the energy of a wave?

2 ビュー (過去 30 日間)
Li-Wun
Li-Wun 2024 年 5 月 18 日
コメント済み: Li-Wun 2024 年 5 月 20 日
I used signal analyzer to analyze a wave of the sound.
Now I would like to calculate the energy of the sound.
My idea is to firstly squared the amplitude and then integrated the whole wave.
I have squared the amplitude and got the diagram of squared amplitude v.s. time.
However, I don't know how to integrate this wave without having a wavefunction.
How could I do? Thank you.
  3 件のコメント
Paul
Paul 2024 年 5 月 19 日
Yes, that's the standard definition of the energy in the discrete-time signal as long as the elements of data are real and it's assumed that the signal is zero for indices outside those covered by data.
Li-Wun
Li-Wun 2024 年 5 月 20 日
Thank you so much.

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

回答 (1 件)

Paul
Paul 2024 年 5 月 18 日
Hi Li-Wun,
This answer may be what's needed. If not, feel free to post back here with follow-up questions, preferably with example code.
  1 件のコメント
Li-Wun
Li-Wun 2024 年 5 月 20 日
Thank you so much.

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

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by