Code covered by the BSD License  

Highlights from
trimmod

from trimmod by Joerg Buchholz
TrimMod finds the trim point (equilibrium) of a Simulink system.

jj_lin (Trim Model Toolbox)
jj_lin (Trim Model Toolbox)
Trim Model Toolbox

  Go to function:

    Search    Help Desk 
jj_lin    Examples   See Also

Subsystem linearisation of a nonlinear ordinary differential equation system (helper function of trimmod)

Syntax

     jaco = jj_lin (sys, x_u, n_x, i_x_u, i_dy)

     jaco = jj_lin (sys, x_u, n_x, i_x_u, i_dy, del_x_u)

Description

jaco = jj_lin (sys, x_u, n_x, i_x_u, i_dy) linearizes the system with the name sys at the operating point, that is defined by the generalized input vector x_u.

n_x is the length of the original state vector x. It is needed for the dissassembling of the x_u vector in the parameter list of the system calls.

The matrix jaco only contains the subsystem defined by the index vectors i_x_u and i_d_y.

jaco = jj_lin (sys, x_u, n_x, i_x_u, i_dy, del_x_u) additionally allows the specification of the perturbation levels del_x_u to be used for the gradient calculations.

 See Also

trimmod  Main trim function

jj_trim  Helper function, that does the actual trimming

trim     The trim function of the Mathworks



[Help Desk]

Contact us at files@mathworks.com