Controllability matrix computation for time invariant linear system without using built in ctrb function.

1 vue (au cours des 30 derniers jours)
Controllability matrix C = [B,A*B,...,A^(n-1)*B], where A is n x n matrix and B is n x m matrix.
I would like to compute C without using ctrb function. I was thinking of calculating all the matrices i.e. B,A*B,...,A^(n-1)*B and then concatenating them together using cat function. Maybe using a for loop to do so. I know it would not be efficient. However, i would still like to give it a go. Any suggestions or different approaches would be helpful.

Réponses (1)

Matt J
Matt J le 25 Août 2017
Modifié(e) : Matt J le 25 Août 2017
I would use the fact that C{i}=A*C{i-1}.

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by