|
From: | JORGE JONATHAN DIAZ PIÑA |
Subject: | Signal library problem |
Date: | Thu, 23 May 2019 06:13:26 +0000 |
hi!
i'm using your library in Octave and i have a problem in the function ss2tf, the value returned of the function should be a vectors and the size of this depend of the grade of the matrix, but the function returns a vectors who depend of te numbers diferents
of zero.
if you don't understand me i put a example:
--this is mat:
A=[1 1 0; 1 -1 0; 0 0 -2];
B=[2; 1; 1];
C=[1 0 1];
---Using matlab the result is this:
>> [ num , den ] = ss2tf( A, B, C, D )
num =
0 1 2 0
den =
---Using octave the result is:
[ num , den ] = ss2tf( A, B, C, D )
num = 1
den =
---------------
octave don't return the correct result and send a diferent size
|
[Prev in Thread] | Current Thread | [Next in Thread] |