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
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에 대해 자세히 알아보기

질문:

2012년 3월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by