I am trying to discretize a continuous time state space model using the following code
s=tf('s');
G=1/(Iyy*(s^2))
Gs=ss(G)
Gd=c2d(Gs,0.01,'zoh');
Now, when i use this discretized model 'Discrete State-space Model' in simulink, my close loop system goes unstable. Same is happening with observer, like discretized observer is making close loop system unstable. Can someone help me here?