Matlab全局变量

2025-05-23 00:27:58
推荐回答(2个)
回答(1):

nx表示的是一个数吗?
如果是的话ezplot('x+y^(2/3)-y',[1,100,0,130])
看看是不是你要的结果

回答(2):

clear
nx=input('nx=');
A=nx;
for i=1:100
A(i+1)=(A(i))^(2/3)+i;
end
plot(A)