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

11 Ansichten (letzte 30 Tage)
nick
nick am 19 Mär. 2012
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.

Antworten (1)

Rajiv Singh
Rajiv Singh am 11 Apr. 2012
c is just a string indicating your choice of gramian type ('c' for controllability gramian and 'o' for observability)
Try: gram(sys, 'c')

Kategorien

Mehr zu Matrix Computations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by