% 创建离散传函
Numerators = {1 [1 0];[-1 2] 3};
Denominator = [1 0.3];
Ts = 1;
H1 = tf(Numerators,Denominator,Ts)
%离散传函奇异值曲线 无穷范数 =最大奇异值
[ninf,fpeak] = hinfnorm(H1)
sigma(H1),grid
%连续传函奇异值
Numerators = {1 [1 0];[-1 2] 3};
Denominator = [1 0.3];
H2 = tf(Numerators,Denominator)
figure
sigma(H2),grid
H1 =
From input 1 to output...
1
1: -------
z + 0.3
-z + 2
2: -------
z + 0.3
From input 2 to output...
z
1: -------
z + 0.3
3
2: -------
z + 0.3
Sample time: 1 seconds
Discrete-time transfer function.
ninf =
6.0609
fpeak =
3.1416
H2 =
From input 1 to output...
1
1: -------
s + 0.3
-s + 2
2: -------
s + 0.3
From input 2 to output...
s
1: -------
s + 0.3
3
2: -------
s + 0.3
Continuous-time transfer function.