Hello, when i run my code:
z =tf('z',0.001)P = 5I = 5;D = 5;C= P + I*(1/(1-z^(-1))) + D*(1-z^(-1));Cs=d2c(C)
it gives the error:
Error using DynamicSystem/d2c (line 101)
The "zoh" and "foh" methods cannot be used for discrete models with poles near z=0.
Error in Untitled3 (line 6)
Cs=d2c(C)
May I know how to fix this error and convert my transfer function to continous?
Best Answer