Re: Octave Control package bug ?
Andreas Weber <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <[email protected]> |
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