help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on control-1.0.11 package


From: Lukas Reichlin
Subject: Re: question on control-1.0.11 package
Date: Sun, 25 Apr 2010 18:11:21 +0200

> On 24-Apr-2010, Huub wrote:
> 
> | > [1]
> | > 
> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-legacy/inst/tf2zp.m?revision=6995&view=markup
> | >
> | 
> | Thank you. Remains the fact that Matlab gives the correct answer with 
> | num = [0], apparently they have a catch for that.
> 
> Seems like it would be easy enough to remove leading zeros from the
> numerator and denominator before proceeding with the rest of the
> function, so how about doing that and submitting a patch to the
> maintainer of the package?
> 
> jwe

This [1] is how I solved the problem for the _new_ control package. Probably 
there is a more elegant way to do it ...

Regards,
Lukas

[1]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/inst/%40tfpoly/__remleadzer__.m?revision=6996&view=markup


reply via email to

[Prev in Thread] Current Thread [Next in Thread]