iterations required for parameter convergence

1 次查看(过去 30 天)
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
Yes, you can use a while loop.
while ~converged
%iterate
end

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by