Computes and plots the step response of the system StateSpace ss = StateSpace(A=[-1,1;0,-2],B=[1, 0;0, 1],C=[1,0; 0,1],D=[0, 0; 0, 0]).
function plotStep extends Modelica.Icons.Function; import Modelica_LinearSystems2.StateSpace; input StateSpace ss = StateSpace(A = [-1, 1; 0, -2], B = [1, 0; 0, 1], C = [1, 0; 0, 1], D = [0, 0; 0, 0]); end plotStep;