Error using plot==> Not enough input arguments.

Hi every body, i'm a new user of matlab. i used the wavelet toolbox(wavemenu) to denoise an uterine EMG signal then i saved the denoised signal. the problem is when i tried to plot it in matlab this message "Error using plot==> Not enough input arguments" appear. also i can't use it to calculate the snr pleaaaaaaaase help me!!!!!!urgeeeeeeeeeet!!!!!!!!!!

2 件のコメント

Star Strider
Star Strider 2014 年 5 月 13 日
Show the code that includes your plot statement. Also, some details of what you want to plot (particularly the sizes of the variables) would help.
wiem
wiem 2014 年 5 月 13 日
編集済み: Walter Roberson 2014 年 5 月 13 日
>>sig=load('d:/These/ABC.mat');
>>plot(sig);
??? Error using ==> plot
Not enough input arguments.
ABC.mat is the signal saved from wavelet toolbox

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

回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 5 月 13 日

0 投票

When you use that form of load() the result is a structure. plot() of a structure is interpreted as using the structure to pass in options. You need to plot the appropriate variable, such as
thisdata = load('d:/These/ABC.mat');
plot(thisdata.sig);

カテゴリ

質問済み:

2014 年 5 月 13 日

回答済み:

2014 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by