画像はある音ファイルをFFTしてy=0~1に正規化したものです。
この結果の重心を求めたいです。(できればx,y値両方)
解決策お願いします。

 採用された回答

Hernia Baby
Hernia Baby 2021 年 10 月 4 日

0 投票

spectralcentroidはいかがですか?

1 件のコメント

Hernia Baby
Hernia Baby 2021 年 10 月 4 日
結果から重心求める場合は 定義から
gx = sum(x.*y)/sum(y)
ですかね

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で フーリエ解析とフィルター処理 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!