Method of mss.
Compute the Jacobian of the output equations at an operating point.
Source: src/model/@mss/outputJacobian.m
J = outputJacobian(sys, stateVector, inputVector)
J = sys.outputJacobian(x, u)outputJacobian is the output-equation counterpart of stateJacobian.
It returns the first-order derivatives of
with respect to the states and the inputs, evaluated at :
The two blocks are the
and
matrices of a local linearization; linearize obtains
them by splitting J at column nState.
As in stateJacobian,
the signal vector is assembled by scattering
and
through stateIndex and inputIndex, and the
resulting columns are reordered into the same signal order — column
is the derivative with respect to state
,
followed by the inputs — so any structure-matrix row layout works and
J can be split at column nState. The tensor
decides the evaluation path:
CPNTensor — the
consolidated jacobian
entry point with equationIndex = outputEquationIndex and
columnIndex = columnIndexOutputEq.mtiTensor, e.g. TTTensor — the tensor’s
own computeOutputJacobianMatrixMss.| Argument | Description |
|---|---|
sys |
The mss model. |
stateVector |
State operating point
(sys.nState × 1). |
inputVector |
Input operating point
(sys.nInput × 1; [] if the model has no
inputs). |
| Output | Description |
|---|---|
jacobianMatrix |
nOutput × (nState + nInput)
Jacobian
at
. |
sys = rmss(3,1,1,4);
J = sys.outputJacobian([1; 0; -1], 0.5);
C = J(:, 1:sys.nState); % output matrix
D = J(:, sys.nState+1:end); % feedthrough matrixstateJacobian ·
linearize · outputValue · jacobian · mss
MyToolbox Documentation | Generated automatically by CI/CD pipeline