フィルターのクリア

Undefined function or variable 'chebwin'.

2 ビュー (過去 30 日間)
Munirah Yusof
Munirah Yusof 2021 年 3 月 9 日
コメント済み: Munirah Yusof 2021 年 3 月 9 日
Hi! I'm having trouble with my Matlab code. When I run the code, it shows this.
Undefined function or variable 'chebwin'.
Error in problem (line 33)
[ps2,freq]=pwelch(data,chebwin(128,100),[],N,Fs);% plotting half of the power spectrum with 50% overlap and chebwin window of length
128
Is this a problem with the toolbox or another issue?

採用された回答

Walter Roberson
Walter Roberson 2021 年 3 月 9 日
chebwin() needs the Signal Processing Toolbox to be installed and licensed. That is the same toolbox as pwelch, but due to the way MATLAB executes functions, it would not look for pwelch until after it had resolved all the parameters to the pwelch call.
  1 件のコメント
Munirah Yusof
Munirah Yusof 2021 年 3 月 9 日
I understand what you mean. Thank you for helping me.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by