필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by