help-octave
[Top][All Lists]
Advanced

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

Re: Octave Control package bug ?


From: Thomas D. Dean
Subject: Re: Octave Control package bug ?
Date: Wed, 16 Sep 2020 09:34:44 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 2020-09-16 07:24, Parameshwara Bhat wrote:
On Wednesday, 16 September, 2020 5:47:26 PM IST Doug Stewart wrote:




On Wed, Sep 16, 2020 at 5:44 AM Andreas Weber <octave@josoansi.de[1]> wrote:


Am 31.08.20 um 10:12 schrieb Parameshwara Bhat:
This error I receive even if I give the exact demo commands for the functions 
from the Documentation,like

"s=tf('s');
  g=1/(s+1);
  pzmap(g); "

I can reproduce this with control-3.2.0 and get:

octave:1> pkg load control
octave:2> s=tf('s');
octave:3> g=1/(s+1);
octave:4> pzmap(g);
error: __zero__: function called with too many inputs
error: called from
     __zero__
     zero at line 140 column 23
     pzmap at line 78 column 7

This file where this is triggered is @lti/zero.m
but I'm not familiar enough to understand that this should be called.

-- Andy


I do not see the problem with control 3.2.0.



octave:10> pkg load control
octave:11> clear
octave:12> s=tf('s');
octave:13> g=1/(s+1);
octave:14> pzmap(g);
ans = -7.7682
octave:15> version()
ans = 6.0.90
octave:16> pkg list control
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control *|   3.2.0 | /home/tomdean/octave/control-3.2.0

Tom Dean



reply via email to

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