Use array indexing to extract from linsysthe model obtained by linearizing the
watertank model at t = 3, for A = 10 and b = 4.
sg = linsys.SamplingGrid;
sys = linsys(:,:,sg.A == 10 & sg.B == 4 & sg.Time == 3);
The structure, sg, contains the sampling grid for all the models in linsys. The
expression sg.A == 10 & sg.B == 4 & sg.Time == 3 returns a logical array. Each
entry of this array contains the logical evaluation of the expression for corresponding
entries in sg.A, sg.B, and sg.Time. sys, a model array, contains all the linsys models
that satisfy the expression.
View the step response for sys.
stepplot(sys)
Analyze Command-Line Batch Linearization Results Using Response Plots