octave-maintainers
[Top][All Lists]
Advanced

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

Re: conroldemo failed in 2.9.17 :Discrete system


From: Tatsuro MATSUOKA
Subject: Re: conroldemo failed in 2.9.17 :Discrete system
Date: Sun, 11 Nov 2007 15:43:01 +0900 (JST)

> Please try the following patch.
> jwe
> > Index: scripts/control/system/sysout.m
> ===================================================================
> RCS file: /cvs/octave/scripts/control/system/sysout.m,v
> retrieving revision 1.11
> diff -u -u -r1.11 sysout.m
> --- scripts/control/system/sysout.m   8 Nov 2007 18:54:10 -0000       1.11
> +++ scripts/control/system/sysout.m   11 Nov 2007 02:19:34 -0000
> @@ -107,7 +107,7 @@
>    if (strcmp(opt, "ss") || strcmp(opt, "all"))
>      sys = sysupdate (sys, "ss");
>      disp ("state-space form:");
> -    disp ("%d continuous states, %d discrete states", nn, nz);
> +    printf ("%d continuous states, %d discrete states\n", nn, nz);
>      if (nn+nz > 0)
>        disp ("State(s):")
>        xi = (nn+1):(nn+nz);
> 

Thank for John W. Eaton

 [ 3] Frequency response functions
 [ 1] Continuous system bode analysis
for  Bode analysis and  Nyquist analysis
goes well for 2.9.17 on cygwin and octave.

However for Discrete system seems not to worked well.
This is for both cygwin and mingw.
For 2.9.16, both worked well.

I aplogoze for seprated reports.

Tatsuro

**************
For 2.9.17 cygwin octave.
Discrete system bode analysis

Display bode plots of a discrete SISO system (dbode)

Example #1, Consider the following discrete transfer
 function:

sys1 = tf([0.00100502, -0.00099502], [1, -2, 1], 0.001);
sysout(sys1)
Input(s)
      1: u_1

Output(s):
     1: y_1 (discrete)


Invalid call to disp.  Correct usage is:

 -- Built-in Function:  disp (X)


Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.

error: evaluating if command near line 85, column 3
error: called from `sysout' in file
`/opt/octave/octave-2.9.17/share/octave/2.9.17/m/control/system/sysout.m'
error: evaluating if command near line 55, column 9
error: evaluating while command near line 45, column 7
error: evaluating if command near line 43, column 5
error: evaluating while command near line 35, column 3
error: called from `frdemo' in file
`/opt/octave/octave-2.9.17/share/octave/2.9.17/m/control/base/frdemo.m'
error: evaluating switch command near line 67, column 5
error: evaluating while command near line 49, column 3
error: called from `DEMOcontrol' in file
`/opt/octave/octave-2.9.17/share/octave/2.9.17/m/control/base/DEMOcontrol.m'
error: called from `controldemo' in file
`/opt/octave/octave-2.9.17/share/octave/2.9.17/m/control/base/controldemo.m'
 




--------------------------------------
New Design Yahoo! JAPAN  2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/


reply via email to

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