필터 지우기
필터 지우기

impose a condition on a general value of a vector

조회 수: 1 (최근 30일)
Alessandro Vitiello
Alessandro Vitiello 2020년 4월 28일
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개)

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by