Effacer les filtres
Effacer les filtres

How do I change my fminsearch to fmincon with some restrictions on the parameters?

1 vue (au cours des 30 derniers jours)
Steven
Steven le 11 Mai 2013
Hi,
I am running an fminsearch function but some parameter estimates are coming out as greater than one. As the parameters are for an autoregressive function they should be between zero and one. How can I change my fminsearch to the right fmincon? I don't know where exactly to put the restrictions and how to define them. My fminsearch is:
[results,fval] = fminsearch('kalmanf',param,['MaxFunEvals',100000],data,xt_init,sigma_FC, sigma_FS);
Where the first 6 rows of the vector "param" should be restricted to be between zero and one. data,xt_init,sigma_FC, sigma_FS are the inputs of the function.
thank you!

Réponses (0)

Catégories

En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by