Beginner question: Loops in Matlab
Mostrar comentarios más antiguos
Hi all,
I need to write matlab codes for the below formula.
theta = u+h1-h2-w
in this formula,
h1 = (theta+8)*gamma*23; h2 = 8/(theta+1)
so its a loop which i have to write. All u,w,h1,h2,gamma is an array
how and what loop should i use to write a code for this problem?
4 comentarios
Torsten
el 29 de Oct. de 2015
So you want to solve for theta from the equation
theta=u-w+(theta+8)*gamma*23-8/(theta+1)
?
Best wishes
Torsten.
Heartrin
el 29 de Oct. de 2015
Torsten
el 29 de Oct. de 2015
Why in a loop ? Do you want to calculate it iteratively ?
Best wishes
Torsten.
Heartrin
el 29 de Oct. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!