pass iteration number as input parameter in lsqnonlin

I am using lsqnonlin for an otpimization problem. I want lsqnonlin to change its input parameter in function of the iteration step. For example: at iteration 0 the input parameter has to be 0, from iteration 1 to 3 the input parameter has to be 1. Then at iteration 4, again 0 etc...
Is there a way to do it?

Réponses (0)

Cette question est clôturée.

Question posée :

le 19 Mar 2014

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by