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일

0 개 추천

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월 9일
May I know what should be typed fot this equation? I am not very familiar with MATLAB, thanks
John D'Errico
John D'Errico 2021년 4월 9일
Then you need to read the manual!
Try the MATLAB Onramp tutorial.
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

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

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2021년 4월 9일

댓글:

2021년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by