How to run a program for three different values

3 Ansichten (letzte 30 Tage)
Offroad Jeep
Offroad Jeep am 7 Jul. 2015
Kommentiert: Offroad Jeep am 7 Jul. 2015
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 7 Jul. 2015
temp= [30,40,50]
for k=1:numel(Temp)
T=temp(k)
% add your ptogramme
end
  1 Kommentar
Offroad Jeep
Offroad Jeep am 7 Jul. 2015
Nice one ............ but how i can see all the graphs in one window.......

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by