You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gain offset using control.matlab.c2d using method='matched' ? #950
Hi John great to hear from you and happy holidays. Glad to see you are using or at the very least evaluating the library.
The matched c2d is code I have never used before and it doesn’t look like we have a unit test for it, so there is a decent chance it is just a bug. Thanks for the report!
One q - when you refer to gain, do you mean the DC gain of the two systems?
Compared results of
sysc = ct.TransferFunction([1, z], [1, p])
sysd = ct.matlab.c2d(sysc, Ts, method='bilinear')
sysd1 = ct.matlab.c2d(sysc, Ts, method='matched')
yields a sysd1 with a gain that is about 10x that of sysd - is that expected?