Search code examples
matlabcontrolsstate-spacecanonical-form

controllable for mimo system in matlab


I have a MIMO state space system. I need to obtained a controllability canonical realisation in matlab. How can I do it?. I only know to find a controllable and observable on SISO system. can anyone help me?


Solution

  • This answer assumes your system is controllable (you can use the ctrb function to check or CHT).

    You can use the canon function to obtain the controllability canonical matrix of the linear dynamic system model stored into sys. Please note that the way Matlab defines it may not be the same as what you define it to be. Check it's definition on the function definition page.

    canon(sys,type)