Minimum value of loop
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hassan alolaiwee
el 12 de Nov. de 2019
Comentada: hassan alolaiwee
el 12 de Nov. de 2019
if i have loop, for example
>> for i=1:3
a=i+2
end
the MATLAB will give me
a= 3,4,5
The question is: how to make matlab give me only the minimum value between those? which is 3
because i have many solutions and i want only the minimum one
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!