Compute equilibrium operating points using findop. The code takes several minutes to
finish.
op = findop(mdl, 0.01, params);
Get linearization input-output specified in the model.
io = getlinio(mdl);
Linearize the model at the operating point array op and store the offsets.
[linsys, ~, info] = linearize(mdl, op, io, params, ...
linearizeOptions('StoreOffsets', true));
Extract offsets from the linearization results.
offsets = getOffsetsForLPV(info);
yoff = offsets.y;
xoff = offsets.x;
uoff = offsets.u;
Plot the linear system array.
bodemag(linsys)
grid on
3 Batch Linearization