Simmulation of Spherical Inverted Pendulum in Matlab

Hi everyone,

Can you guys help me on how to plot these types of graphs attached (A and B) on MATLAB?

Is there any specific command to plot this kind of simulation?

Kind Regards
Thanks in advance

This question is out of scope of this forum, which addresses CVX and TFOCS. Perhaps you can get help at .

Thank you Mark. I will try the link you provided.
Best Regards