필터 지우기
필터 지우기

Error using ==> plot Too many input arguments.

조회 수: 1 (최근 30일)
kim
kim 2013년 4월 3일
function [output_noise] = uniformnoise
range=30;
size=3000;
output_noise(1:size)=0;
for i=1 : size
output_noise(i) = (rem(rand()*100,(2*range+1)) - range) * 0.0001;
end
i=1:1:size;
plot(i, output_noise) <-
end
??? Error using ==> plot
Too many input arguments.
Error in ==> uniformnoise at 11
plot(i, output_noise)
-- what's the matter?

답변 (2개)

Ilham Hardy
Ilham Hardy 2013년 4월 3일
Both
size
and
i
are a matlab internal function. Do not name your variable with this name..
  댓글 수: 1
kim
kim 2013년 4월 3일
thank you very much!! I'll take it. ^^

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


Walter Roberson
Walter Roberson 2013년 4월 3일
It appears that you have created your own plot.m that is interfering with MATLAB's plot()
  댓글 수: 1
kim
kim 2013년 4월 3일
thank you very much!! I'll take it. ^^

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

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by