ss2tf give different results depending on version of MATLAB

4 vues (au cours des 30 derniers jours)
Philip
Philip le 25 Sep 2013
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?

Réponses (1)

Craig
Craig le 3 Oct 2013
Over releases algorthims are updated to improve reliability and accuracy of computations. As a result answers can differ between releases.

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by