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

 Réponse acceptée

Hernia Baby
Hernia Baby le 4 Oct 2021

0 votes

spectralcentroidはいかがですか?

1 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur フーリエ解析とフィルター処理 dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!