Mercurial > octave-nkf
comparison scripts/control/hinf/dhinfdemo.m @ 4771:b8105302cfe8
[project @ 2004-02-16 17:45:50 by jwe]
author | jwe |
---|---|
date | Mon, 16 Feb 2004 17:45:50 +0000 |
parents | a892190f4977 |
children | bdbee5282954 |
comparison
equal
deleted
inserted
replaced
4770:ef5e598f099b | 4771:b8105302cfe8 |
---|---|
86 eval(cmd); | 86 eval(cmd); |
87 ## omega axis (column vector) | 87 ## omega axis (column vector) |
88 ww = vec(logspace(-4.99, 3.99, 100)); | 88 ww = vec(logspace(-4.99, 3.99, 100)); |
89 | 89 |
90 disp("Create ZOH equivalent model of a continuous plant"); | 90 disp("Create ZOH equivalent model of a continuous plant"); |
91 cmd = "G = tf2sys(2,[1 3 2]); Gd = c2d(G, Ts);"; | 91 cmd = "G = tf(2,[1 3 2]); Gd = c2d(G, Ts);"; |
92 run_cmd | 92 run_cmd |
93 | 93 |
94 ## w-plane (continuous representation of the sampled system) | 94 ## w-plane (continuous representation of the sampled system) |
95 disp("W-plane transform of discrete time system:"); | 95 disp("W-plane transform of discrete time system:"); |
96 cmd = "Gw = d2c(Gd, \"bi\");"; | 96 cmd = "Gw = d2c(Gd, \"bi\");"; |