FFT結果の重心を求める

5 次查看(过去 30 天)
Keito Endo
Keito Endo 2021-10-4
画像はある音ファイルをFFTしてy=0~1に正規化したものです。
この結果の重心を求めたいです。(できればx,y値両方)
解決策お願いします。

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 フーリエ解析とフィルター処理 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!