Discussion:
residuez problem
Tarmo Tapio
2018-11-15 08:33:54 UTC
Permalink
Hi

Function residuez.m do not work properly (signal pkg)
b = [0,1]; a = [3,-4,1]; [R,p,C] = residuez(b,a)
R =

  -0.50000  (should be 0.50000)
   0.50000  (should be -0.50000)

p =

   0.33333  (should be 1.00000)
   1.00000  (should be 0.33333)

[b,a] = residuez(R,p,C)

warning: tolerance ignored
warning: called from
    residuez at line 71 column 5
b = -2  (should be vector)
a = -3  (should be vector)

I'm using xubuntu 18.

Loading...