From help-octave-request at bevo dot che dot wisc dot edu Sat Jan 26 15:07:15 2002 Subject: Re: rlocus From: A Scottedward Hodel To: Date: Sat, 26 Jan 2002 15:05:29 -0600 Look at : tf2sys zp2sps ss2sys and sys2tf sys2zp sys2ss It's not quite as flexible as the object-oriented MATLAB toolbox, but On 1/25/02 8:21 AM, "David Eduardo Gomez Noguera" wrote: > On Fri, 25 Jan 2002 00:29:06 -0500 > Torsten Howard wrote: > > Not a straight answer, but run the demo that comes with it: > > "sysrepdemo" > > ( i havent though) >> Hello, >> >> I went and tried to do a simple rlocus this evening, but it wasn't simple. >> >> I'll put a transcipt at the end of the page, how do I make this work? >> >> Torsten >> >> >> --------------------------------------------------------------------- >> octave:1> num = [1]; >> octave:2> den = [1 6 11 6]; >> octave:3> rlocus(num,den) >> error: Asys must be a system data structure (see ss2sys, tf2sys, zp2sys) >> error: evaluating if command near line 45, column 3 >> error: called from `sys2tf' in file >> `/opt/octave/share/octave/2.1.35/m/control/system/sys2tf.m' >> error: called from `rlocus' in file >> `/opt/octave/share/octave/2.1.35/m/control/base/rlocus.m' >> octave:3> help rlocus >> rlocus is the user-defined function from the file >> /opt/octave/share/octave/2.1.35/m/control/base/rlocus.m >> >> - Function File: rlocus (INPUTS) >> [rldata, k] = rlocus(sys[,increment,min_k,max_k]) >> Displays root locus plot of the specified SISO system. >> >> ----- --- -------- >> --->| + |---|k|---->| SISO |-----------> >> ----- --- -------- | >> - ^ | >> |_____________________________| >> >> inputs: sys = system data structure >> min_k, max_k,increment: minimum, maximum values of k and >> the increment used in computing gain values >> Outputs: plots the root locus to the screen. >> rldata: Data points plotted column 1: real values, column 2: imaginary >> values) >> k: gains for real axis break points. >> >> >> >> Additional help for built-in functions, operators, and variables >> is available in the on-line version of the manual. Use the command >> `help -i ' to search the manual index. >> >> Help and information about Octave is also available on the WWW >> at http://www.che.wisc.edu/octave/octave.html and via the >> help-octave at bevo dot che dot wisc dot edu mailing list. >> octave:4> help sys >> >> help: sorry, `sys' is not documented >> >> Additional help for built-in functions, operators, and variables >> is available in the on-line version of the manual. Use the command >> `help -i ' to search the manual index. >> >> Help and information about Octave is also available on the WWW >> at http://www.che.wisc.edu/octave/octave.html and via the >> help-octave at bevo dot che dot wisc dot edu mailing list. >> octave:5> >> >> >> >> ------------------------------------------------------------- >> 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 >> ------------------------------------------------------------- > -- A. S. Hodel 200 Broun Hall Dept Elect & Comp Eng, Auburn Univ AL 36849-5201 http://www.eng.auburn.edu/~scotte 334 844 1854 Fax: -1809 ------------------------------------------------------------- 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 -------------------------------------------------------------