Wc = gram(sys,'c') (gramian controllability)

In this command what is this 'c' stands for, how to specify c?
I am getting
??? Undefined function or variable 'c'.
after entering this gram command
Also can anybody tell me what size or dimension of this 'c' matrix?
if my state space system is
>>size(sys) State-space model with 46 outputs, 4 inputs, and 52 states.

Respuestas (1)

Rajiv Singh
Rajiv Singh el 11 de Abr. de 2012

0 votos

c is just a string indicating your choice of gramian type ('c' for controllability gramian and 'o' for observability)
Try: gram(sys, 'c')

Categorías

Más información sobre Matrix Computations en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by