fminsearch, problem with option specification
Show older comments
Hello,
I have a vector V. I have an error depending on the components. I want the error to be as lower as possible so I though of using fminsearch.
V = fminsearch(@(V) myerror(V,par_1,par_2,par_3),Vo)
The problem is that I need V1<V2<...<Vn and Vi∈[1,1000](for all i). By the moment, I think there is not possibility to include such conditions with "optimset"
I would appreciate any advice.
Thanks a lot
Accepted Answer
More Answers (1)
Fede
on 15 May 2014
0 votes
Categories
Find more on Choose a Solver in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!