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.
回答(1 个)
Rajiv Singh
2012-4-11
0 个投票
c is just a string indicating your choice of gramian type ('c' for controllability gramian and 'o' for observability)
Try: gram(sys, 'c')
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Computations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!