> From: [email protected]
> Date: Tue, 10 Nov 2009 09:41:52 +0100
> To: [email protected]; [email protected]
> Subject: [OctDev] Bugs in control/tzero function (was Re: Discrete feedback 
> loop)
> 
> I made some further investigations (I'm writing pzmap.m for control-oo at the 
> moment, which needs to compute the zeros of a system) and came to the 
> conclusion that tzero.m from the control package is buggy. The attachment 
> contains an example where the discrepancy of the results is big: Matlab gets 
> -13.2759, -0.0155, 12.5774, while tzero gets -5.708333, -0.015561, 31.509741. 
> Apparently the bug has been undiscovered for about 15 (!) years.
> 
> The bad thing is that I reused the code from tzero.m in the control-oo 
> package ...
> 
> Regards,
> Lukas
> 
> 
Hi Lukas.

 

try using tzero2, it works for me on your example. What the difference is I 
don't know.

 

 

Doug Stewart
                                          
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to