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

 Akzeptierte Antwort

Hernia Baby
Hernia Baby am 4 Okt. 2021

0 Stimmen

spectralcentroidはいかがですか?

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu フーリエ解析とフィルター処理 finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!