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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Matt J
Matt J il 25 Ago 2017
Modificato: Matt J il 25 Ago 2017
I would use the fact that C{i}=A*C{i-1}.

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by