When using linspace, matlab shows an error message= not enough input arguments.
이전 댓글 표시
for i=1:20
y=log(cond(vander(linspace(1,0,n))));
plot(n,y,'-');hold on
end
There is no line shown up.
Error message:
Not enough input arguments.
Error in linspace (line 19)
n = floor(double(n));
Help! Thanks in advance!
채택된 답변
추가 답변 (1개)
Walter Roberson
2017년 1월 23일
0 개 추천
You would get that argument if you had defined n as being an input argument to your function, but the place that called your function did not pass in a value in the position that corresponds to n.
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!