Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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!

Respuestas (0)

Categorías

Más información sobre Systems of Nonlinear Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by