The trim point found by
trim
starting from
any given initial point is only a local value. Other, more suitable
trim points may exist. Thus, if you want to find the most suitable
trim point for a particular application, it is important to try a
number of initial guesses for
x
,
u
,
and
y
.
Algorithms
trim
uses a sequential quadratic programming
algorithm to find trim points. See
Sequential Quadratic Programming (SQP)
(Optimization Toolbox)
for a description
of this algorithm.