Octave Control Package 3.2.0 with Octave 5.2: tfdata() only returning numerator coefficients

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Octave Control Package 3.2.0 with Octave 5.2: tfdata() only returning numerator coefficients

shall689
Hello,

tfdata (from the control package 3.2.0 with Octave 5.2) is only returning
the numerator coefficients.  Shouldn't it return both the numerator and
denominator coefficients?

example:
sys=tf([1 2 3 4],[6 7 8 9 10]);
tfdata(sys)

only returns:
ans =
{
  [1,1] =
      1  2  3  4
}


Stephen



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Octave Control Package 3.2.0 with Octave 5.2: tfdata() only returning numerator coefficients

shall689
[num,den] = tfdata(sys) fixed the issue.



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html