How to iterate an equation?
Afficher commentaires plus anciens
Hi I got a problem with iterating an equation and I have to estimate a value from it. Anyone has an idea?

Thanks!
Réponses (1)
Anthony Gurunian
le 9 Avr 2021
0 votes
Make an intial guess foor lamda_n, then do a for loop with equaiton 2. Exit the loop when abs(lambda_n+1 - lambd_n) is less than some tolerance.
4 commentaires
Ka Wai Yip
le 9 Avr 2021
John D'Errico
le 9 Avr 2021
Then you need to read the manual!
Try the MATLAB Onramp tutorial.
Ka Wai Yip
le 10 Avr 2021
Anthony Gurunian
le 10 Avr 2021
lamda_n = 0
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!