help-octave
[Top][All Lists]
Advanced

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

zp2sys and bode plot


From: Giovanni Visciano
Subject: zp2sys and bode plot
Date: Sat, 13 Dec 2003 22:15:05 +0100

Hi,
I have compiled 2.1.50, on debian debian woody.

> s = zp2sys([],[-1],1);
> sysout (s)
Input(s)
      1: u_1

Output(s):
     1: y_1

zero-pole form:
1
---------
  (s + 1)

> bode(s)
error: number of columns must match (2 != 1)
error: evaluating assignment expression near line 97, column 7
error: evaluating if command near line 71, column 3
error: called from `sysgroup' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/system/sysgroup.m'
error: evaluating assignment expression near line 96, column 9
error: evaluating if command near line 65, column 3
error: called from `sysmult' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/system/sysmult.m'
error: evaluating assignment expression near line 146, column 11
error: evaluating while command near line 95, column 3
error: called from `zp2ss' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/system/zp2ss.m'
error: evaluating if command near line 109, column 5
error: evaluating if command near line 107, column 3
error: called from `sysupdate' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/system/sysupdate.m'
error: evaluating assignment expression near line 153, column 9
error: evaluating if command near line 152, column 3
error: called from `sysgetsignals' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/system/sysgetsignals.m'
error: called from `bode' in file 
`/home/gio/Octave-2.1.50/share/octave/2.1.50/m/control/base/bode.m'

> s = tf2sys([1],[1 1]);
> sysout (s)
Input(s)
      1: u_1

Output(s):
     1: y_1

transfer function form:
1
---------
1*s^1 + 1

> bode(s)
                         "ok plotting..."

what's wrong?

Thanks, Giovanni




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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