FFT結果の重心を求める

5 views (last 30 days)
Keito Endo
Keito Endo on 4 Oct 2021
Commented: Hernia Baby on 4 Oct 2021
画像はある音ファイルをFFTしてy=0~1に正規化したものです。
この結果の重心を求めたいです。(できればx,y値両方)
解決策お願いします。

Accepted Answer

Hernia Baby
Hernia Baby on 4 Oct 2021
spectralcentroidはいかがですか?
  1 Comment
Hernia Baby
Hernia Baby on 4 Oct 2021
結果から重心求める場合は 定義から
gx = sum(x.*y)/sum(y)
ですかね

Sign in to comment.

More Answers (0)

Categories

Find more on フーリエ解析とフィルター処理 in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!