Is lyapExp working properly?

4 ビュー (過去 30 日間)
Gerald DiBona
Gerald DiBona 2018 年 12 月 1 日
編集済み: Bora Eryilmaz 2019 年 2 月 8 日
WHEN I ENTER AT MATLAB PROMPT: lyap = lyapunovExponent(x,50). x is my signal and fs=50 Hz.
I GET THE FOLLOWING LIST OF ERROR MESSAGES:
Not enough input arguments.
Error in rms (line 17)
delta = windowlength - overlap;
Error in enbw (line 33)
bw = (rms(window)/mean(window))^2;
Error in psdparserange>parseTime (line 84)
rbw = enbw(w,fs);
Error in psdparserange (line 35)
[Pxx, F, Frange, rbw] = parseTime(funcName, beta, varargin{1:min(n,3)});
Error in meanfreq (line 63)
[Pxx, F, Frange, rbw, extraArgs, status] = psdparserange('meanfreq',
kaiserBeta, varargin{:});
Error in lyapunovExponent>parseAndValidateInputs (line 199)
MinSeparation = ceil(fs/max(meanfreq(x,fs)));
Error in lyapunovExponent (line 54)
[x, fs, dim, lag, ExpansionRange, MinSeparation, isSingle] =
parseAndValidateInputs(x, varargin{:});

回答 (1 件)

Bora Eryilmaz
Bora Eryilmaz 2019 年 2 月 8 日
編集済み: Bora Eryilmaz 2019 年 2 月 8 日
Hi Gerald,
Could you help determine which "rms" command the top error from your error trace is coming from:
Error in rms (line 17)
delta = windowlength - overlap;
When you run the following in the Command Window:
which -all rms
is the top output something like "...matlab\toolbox\signal\signal\rms.m"
It looks like another "rms.m" might be shadowing the ...\signal\rms.m command.
Best Regards,
Bora

カテゴリ

Help Center および File ExchangeManage System Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by