FFT結果の重心を求める

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

Risposta accettata

Hernia Baby
Hernia Baby il 4 Ott 2021
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 Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!