How to run a program for three different values

Hi to all the Users,
My question is that I made a program and calculated the value with some temperature T=20 got the graph and all stuff. How i can run the same program for T = 30,40,50. Thanks

 采纳的回答

temp= [30,40,50]
for k=1:numel(Temp)
T=temp(k)
% add your ptogramme
end

1 个评论

Nice one ............ but how i can see all the graphs in one window.......

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by