EEMD(ensemble EMD)

109 ビュー (過去 30 日間)
一樹 北山
一樹 北山 2021 年 9 月 14 日
コメント済み: Star Strider 2021 年 9 月 16 日
I would like to decompose the waveform by using the following procedure to decompose the wav file into IMF by EMD(Empirical mode decomposition) using EEMD(ensemble EMD) code, but it does not work.
I use the following code to load the wav file into MATLAB and get EMD.
[X,fs] = audioread('sample.wav');
sound(X,fs);
t = (0:length(X)-1)/fs;
plot(t,X)
xlabel('Time(s)')
[imf,residual,info] = emd(X,'Interpolation','pchip');
hht(imf,fs)
Can you please tell me why it does not work?

採用された回答

Star Strider
Star Strider 2021 年 9 月 14 日
I am not absolutely certain what the problem is, because ‘does not work’ can mean just about anything.
Note that according to the documentation, the first argument ‘x’, the time-domain signal must be ‘specified as a real-valued vector, or a single-variable timetable with a single column. If x is a timetable, x must contain increasing, finite row times.
MATLAB sound files characteristically contain 2 columns, corresponding to the left and right channels of a stereopohonic recording. If that is the situation with your ‘X’, choose one column or the other, not both, to present to the emd function.
.
  8 件のコメント
一樹 北山
一樹 北山 2021 年 9 月 16 日
Dear Star Strider
Thank you for your kind attention.
I will follow your advice and try.
I am sure that some unclear points will come up in the future and I will ask you again.
Thank you very much!
Star Strider
Star Strider 2021 年 9 月 16 日
As always, my pleasure!
.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by