[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Signal library problem
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Signal library problem |
Date: |
Thu, 23 May 2019 09:58:39 -0500 |
On Thu, May 23, 2019 at 8:18 AM JORGE JONATHAN DIAZ PIÑA
<address@hidden> wrote:
>
> 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];
>
> D=[0];
>
> ---Using matlab the result is this:
>
> >> [ num , den ] = ss2tf( A, B, C, D )
>
> num =
>
> 0 1 2 0
>
>
> den =
>
> 1 1 -2 0
>
>
> ---Using octave the result is:
>
> [ num , den ] = ss2tf( A, B, C, D )
> num = 1
> den =
>
> 1 -1
>
>
> ---------------
> octave don't return the correct result and send a diferent size
>
>
I cannot reproduce this problem.
What is your
octave version?
OS ?
signal package version?
control package version?
Regards,
Dmitri.
--
- Signal library problem, JORGE JONATHAN DIAZ PIÑA, 2019/05/23
- Re: Signal library problem,
Dmitri A. Sergatskov <=