Matlab 2010a中 function y=zy(n) for i=1:n for j=i:n f(i,j)=i*j; end end编译之后Input argument "n" is undefined.Error in ==> zy at 2for i=1:n是怎么回事,

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/24 20:26:17
Matlab 2010a中 function y=zy(n) for i=1:n for j=i:n f(i,j)=i*j; end end编译之后Input argument zy at 2for i=1:n是怎么回事," />
x)M,ILR0204H|cBZi^rIf~BmUFBZ~BUe biddifjeY+楀=^dg }y% E饹y% JyJ y)iy)zEE Clm*K

Matlab 2010a中 function y=zy(n) for i=1:n for j=i:n f(i,j)=i*j; end end编译之后Input argument "n" is undefined.Error in ==> zy at 2for i=1:n是怎么回事,
Matlab 2010a中 function y=zy(n) for i=1:n for j=i:n f(i,j)=i*j; end end
编译之后
Input argument "n" is undefined.
Error in ==> zy at 2
for i=1:n
是怎么回事,

Matlab 2010a中 function y=zy(n) for i=1:n for j=i:n f(i,j)=i*j; end end编译之后Input argument "n" is undefined.Error in ==> zy at 2for i=1:n是怎么回事,
在命令窗口中指定具体的n,如zy(5)回车