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!