Impulse response error in complex matrix

조회 수: 3 (최근 30일)
greentea
greentea 2015년 4월 22일
답변: Navaneeth Raman 2015년 4월 24일
Hello, I'd like to draw impulse response of state-space model (A,B,C is real matirx).
sys=ss(A,B,C,[]);
impulse(sys);
And it works good, but when I draw impulse response of modal form of that system it doesn't work. First I changed system matrix to modal form A_mod, B_mod, C_mod.
sys_mod = ss(A_mod, B_mod, C_mod, []);
impulse(sys_mod);
but it occurs error. Errors is said that when using 'set', setting property 'YData' of Line, it's not valid VectorData. Complex input is not supported.
It's true that A_mod, B_mod, C_mod is composed of complex number, but it's the problem that Only in my computer, this error occurs. When I changed other computer, this code works good.
So, I re-install matlab again, other version or changed 64bits to 32bits, but it didn't work. What is the problem?? I'm sorry to my poor English. Thanks.

답변 (1개)

Navaneeth Raman
Navaneeth Raman 2015년 4월 24일
Hello,
Can you share the state space matrix for which you get an error? Post the exact error message as well as the version of MATLAB being used and the OS details.
Thanks, Navaneeth

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by