On Mon, Feb 24, 2020 at 2:11 PM Nicholas Jankowski <
address@hidden> wrote:
>> q=tf(2,[1 2 3])
Transfer function 'q' from input 'u1' to output ...
2
y1: -------------
s^2 + 2 s + 3
Continuous-time model.
>> [z k]=zero(q)
z = [](0x1)
k = 2
>> [z p k]=zpkdata(q)
z =
{
[1,1] = [](0x1)
}
p =
{
[1,1] =
-1.0000 + 1.4142i
-1.0000 - 1.4142i
}
k = 2
>> g=dcgain(q)
g = 0.66667
was there something wrong with these results? I get the same output from Matlab 2019a.
no.
He was complaining that help zpkdata did not work but zpkdata did work
but
help @lti/zpkdata does work, he just did not know to use @lti/
--
DAS