[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35245] tf2zp and zp2tf missing in control-2.2
From: |
Lukas Reichlin |
Subject: |
[Octave-bug-tracker] [bug #35245] tf2zp and zp2tf missing in control-2.2.3 |
Date: |
Thu, 05 Jan 2012 14:41:11 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7 |
Follow-up Comment #2, bug #35245 (project octave):
The function "bilinear" is part of the "signal" package. If you want to use
the control package instead, you can do the following:
octave:1> sysc = tf ([1, 0], [1, 1.4e6])
Transfer function 'sysc' from input 'u1' to output ...
s
y1: -----------
s + 1.4e+06
Continuous-time model.
octave:2> sysd = c2d (sysc, 1e-6, "bilin")
Transfer function 'sysd' from input 'u1' to output ...
0.5882 z - 0.5882
y1: -----------------
z - 0.1765
Sampling time: 1e-06 s
Discrete-time model.
octave:3>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35245>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/