MATLAB Answers

How do I convert a complex ss model to a real ss model

12 ビュー (過去 30 日間)
Alan 2020 年 4 月 20 日
編集済み: Alan 2020 年 4 月 20 日
If I have a state space model something like
A = [-0.005+sqrt(2)*1i 0 ; 0 -0.005-sqrt(2)*1i];
B = [ -1+1i
C = [ -1+1i -1-1i];
D = 0;
s = ss(A,B,C,D)
with balanced pairs of complex numbers, how do I convert this into a purely real state space model. (Using something like a 'modal' version of canon or cdf2rdf?
Note the output of tf has a small imaginary part. I'd like to get rid of that too.
s^2 + 0.01 s + 2
  1 件のコメント
Alan 2020 年 4 月 20 日
Reading my question back I tried this,
and it works! I need to check some more to see if this is a general solution. Is there a better way?


回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by