How to iterate an equation?

조회 수: 4 (최근 30일)
Ka Wai Yip
Ka Wai Yip 2021년 4월 9일
댓글: Anthony Gurunian 2021년 4월 10일
Hi I got a problem with iterating an equation and I have to estimate a value from it. Anyone has an idea?
Thanks!

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by