필터 지우기
필터 지우기

EMD giving me error: "ERROR : number of arguments should be as 5"

조회 수: 4 (최근 30일)
Larissa Perez
Larissa Perez 2020년 3월 13일
편집: Wenkang 2020년 9월 16일
I am using Matlab 2018b.
I have a variable b2f with is a time-series. Its size is 1x7200. I am trying to use EMD as:
[imf,residual,info] = emd(b2f);
But I am getting the following error message: "ERROR : number of arguments should be as 5". I have Googled it already but I can't find out what the issue is. Does anyone know what I'm doing wrong?
Thanks!

채택된 답변

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 3월 16일
Hi,
The input argument to 'emd' method should be uniformly sampled time-domain signal, specified as either a vector or single data column timetable. I guess the issue might be with the class of b2f variable as you mentioned it is a time-series object.
Hope this helps!
  댓글 수: 1
Wenkang
Wenkang 2020년 9월 16일
편집: Wenkang 2020년 9월 16일
I tried to run the demo code and it also failed.
>> load('sinusoidalSignalExampleData.mat','X','fs');
t = (0:length(X)-1)/fs;
plot(t,X);
xlabel('Time(s)');
>> [imf,residual,info] = emd(X,'Interpolation','pchip');
Error using emd
ERROR : number of arguments should be as 5
my version is 9.4.0.813654 (R2018a)
This issue can be solved by copying the original emd.m file to another folder and rename it. Dont know why but it works.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Time Series Collections에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by