%% Modified Singular Value Plot of MIMO System
% Consider the following two-input, two-output dynamic system.
% H(s) = \left[ {\begin{array}{*{20}{c}}
% 0&{\displaystyle \frac{{3s}}{{{s^2} + s + 10}}}\\
% {\displaystyle \frac{{s + 1}}{{s + 5}}}&{\displaystyle \frac{2}{{s + 6}}}
% \end{array}} \right].
% Plot the singular value responses of H(s) and I + H(s). Set appropriate titles using the plot option set.

H = [0, tf([3 0],[1 1 10]) ; tf([1 1],[1 5]), tf(2,[1 6])];
opts1 = sigmaoptions;
opts1.Grid = 'on';
opts1.Title.String = 'Singular Value Plot of H(s)';
h1 = sigmaplot(H,opts1);

% Use input 2 to plot the modified SV of type, I + H(s).

opts2 = sigmaoptions;
opts2.Grid = 'on';
opts2.Title.String = 'Singular Value Plot of I+H(s)';
h2 = sigmaplot(H,[],2,opts2);

% Copyright 2021 The MathWorks, Inc.