How to iterate an equation?

4 visualizaciones (últimos 30 días)
Ka Wai Yip
Ka Wai Yip el 9 de Abr. de 2021
Comentada: Anthony Gurunian el 10 de Abr. de 2021
Hi I got a problem with iterating an equation and I have to estimate a value from it. Anyone has an idea?
Thanks!

Respuestas (1)

Anthony Gurunian
Anthony Gurunian el 9 de Abr. de 2021
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 comentarios
Ka Wai Yip
Ka Wai Yip el 10 de Abr. de 2021
Hi may I know how to do an inital gues? It has not been mentioned in the tutorial...
Anthony Gurunian
Anthony Gurunian el 10 de Abr. de 2021
lamda_n = 0

Iniciar sesión para comentar.

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!

Translated by