impose a condition on a general value of a vector
1 回表示 (過去 30 日間)
古いコメントを表示
Hi every one,
I have to do an optimization ( with fmincon), where I have a constraint one the trajectory .
basically I want that my vehicle passes to a point during its flight, it is not important when or where it is that point, only important that during the all trajectory it passees for a selected point. this point can't be the initial or final point.
for example in the case that it is the end point I can write : err_latitude = (latitude(end) - latitude_data)
if it is a general point of latitude vector coming out from ode ?
I cannot write latitude(5) or 10, or anyothers number, because optimization could not converge.
I need to tell to contraint function:
" I give to you the entire vector of latitude", one point of this vector must be equal to this value (latitude_data) ( but not initial or final), you must choose the better point in the vector
many thank for your time and considerations
Kind regards
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!