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!

Antworten (1)

Matt J
Matt J am 18 Dez. 2014

0 Stimmen

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

Kategorien

Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 18 Dez. 2014

Beantwortet:

am 18 Dez. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by