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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 7 de Jul. de 2015
temp= [30,40,50]
for k=1:numel(Temp)
T=temp(k)
% add your ptogramme
end

1 comentario

Offroad Jeep
Offroad Jeep el 7 de Jul. de 2015
Nice one ............ but how i can see all the graphs in one window.......

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Networks en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Jul. de 2015

Comentada:

el 7 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by