State Space, Finding Characteristic equation

11 ビュー (過去 30 日間)
Joseph
Joseph 2014 年 11 月 9 日
コメント済み: fathima sugal 2021 年 10 月 20 日
Having trouble converting into state space. I also need to use matlab to produce the characteristic equation. here is my code
syms ks cs
A = [0 1 0 0; (ks+2000)/30 (cs+5)/30 -ks/30 -cs/30; 0 0 0 1; -ks/500 -cs/500 ks/500 cs/500];
B = [0 0 ; 66.7 .167; 0 0; 0 0];
C = [-ks/500 -cs/500 ks/500 cs/500; -1 0 0 0; -1 0 1 0];
D = [ 0 0; 1 0 ;0 0];
sys = ss(A,B,C,D);

回答 (1 件)

Star Strider
Star Strider 2014 年 11 月 10 日
The characteristic polynomial is easy enough with the charpoly function:
CEq = charpoly(A);
  1 件のコメント
fathima sugal
fathima sugal 2021 年 10 月 20 日
CEq = charpoly(1 0:0 1);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by