ss2tf give different results depending on version of MATLAB
조회 수: 4 (최근 30일)
이전 댓글 표시
I use Matlab version 8.2 and my friend 7.14 we get different result using this code
A=[0 1 0 0; -(1.19/1.7e-3) -((8.39e-3)/320)^2/(3.21*1.7e-3) (1.19/1.7e-3) 0; 0 0 0 1; (1.19/4.8e-3) 0 -(1.19/4.8e-3) 0];
B=[0;8.39e-3/(3.21*1.7e-3*320); 0; 0];
C=[0 1 0 0];
D=0;
[n,d]=ss2tf(A,B,C,D);
transfun = tf(n,d)
We get different transfer function and different variable n. Why is that?
댓글 수: 0
답변 (1개)
Craig
2013년 10월 3일
Over releases algorthims are updated to improve reliability and accuracy of computations. As a result answers can differ between releases.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!