Help me the loop problem
显示 更早的评论
n=input('n: '); %n=80
uy=0.2;
while n<120
n=n+10;
uy=uy+0.1;
if uy>=0.4&uy<=0.6
n
uy
continue
end
end
result
n=100&uy=0.4
n=110&uy=0.5
n=120&uy=0.6
I want the result converted into a matrix I'm making a gui I want it automatically thanks for helping me
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!