help-octave
[Top][All Lists]
Advanced

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

Re: Octave Control package bug ?


From: Andreas Weber
Subject: Re: Octave Control package bug ?
Date: Wed, 16 Sep 2020 11:44:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Am 16.09.20 um 02:20 schrieb Doug Stewart:
>     > > > On Mon, 2020-08-31 at 13:42 +0530, Parameshwara Bhat wrote:
>     > > > > I am not able to generate pzmap OR bode OR nyquist. I
>     receive error,
>     > > > >
>     > > > > "error: __zero__: function called with too many inputs
>     > > > > error: called from

I can also see this on some demos, for example:

$ pkg uninstall control signal
$ pkg -forge install control
$ pkg load control
$ pkg list

Package Name        | Version | Installation directory
--------------------+---------+-----------------------
           control *|   3.2.0 | /home/andy/octave/control-3.2.0
     generate_html  |   0.3.1 | /home/andy/octave/generate_html-0.3.1
instrument-control  |   0.5.0 | /home/andy/octave/instrument-control-0.5.0
             video  |   2.0.0 | /home/andy/octave/video-2.0.0

$ demo impulse
impulse example 1:
 clf;
 s = tf('s');
 g = 1/(2*s^2+3*s+4);
 impulse(g);
 title ("Impulse response of a PT2 transfer function");

impulse example 1: failed
__zero__: function called with too many inputs


If I change zero to __zero__ in ./control-3.2.0/@tf/__minreal__.m:34
the demo works.

@doug: Is it possible that you have a @tf/zero.m function lingering
around from a previous installation?

-- Andy



reply via email to

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