iterations required for parameter convergence

Hi,
I have a code that uses an iteration algorithm to estimate some parameters. Is there a way to get it to iterate until the parameter values converge? (The number of iterations required changes each time, since I'm adding random error to the data)
Thanks!

답변 (1개)

Matt J
Matt J 2014년 12월 18일

0 개 추천

Yes, you can use a while loop.
while ~converged
%iterate
end

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

질문:

2014년 12월 18일

답변:

2014년 12월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by