FFT結果の重心を求める

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

 Risposta accettata

Hernia Baby
Hernia Baby il 4 Ott 2021

0 voti

spectralcentroidはいかがですか?

1 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su フーリエ解析とフィルター処理 in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!