help-octave
[Top][All Lists]
Advanced

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

Re: control pkg


From: Doug Stewart
Subject: Re: control pkg
Date: Mon, 13 Feb 2012 09:24:45 -0500

Is this the way Matlab works?
Have we broken Matlab comparability?
Why does the manual still show it as just c2d?
How do you use it?

On Mon, Feb 13, 2012 at 9:22 AM, Lukas Reichlin <address@hidden> wrote:
On 13.02.2012, at 15:07, Doug Stewart wrote:

> I have
>
> octave:1> ver
> ----------------------------------------------------------------------
> GNU Octave Version 3.6.1-rc0
> GNU Octave License: GNU General Public License
> Operating System: Linux 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686
> ----------------------------------------------------------------------
> Package Name   | Version | Installation directory
> ---------------+---------+-----------------------
>       control *|   2.2.4 | /home/doug/octave/control-2.2.4
> miscellaneous *|  1.0.11 | /home/doug/octave/miscellaneous-1.0.11
>         optim *|  1.0.17 | /home/doug/octave/optim-1.0.17
>        signal *|   1.1.2 | /home/doug/octave/signal-1.1.2
>       specfun *|   1.1.0 | /home/doug/octave/specfun-1.1.0
>        struct *|   1.0.9 | /home/doug/octave/struct-1.0.9
>
>
> i do:
>
> octave:2> help c2d
> error: help: `c2d' not found
>
> but
> octave:2> help tf
> `tf' is a function from the file /home/doug/octave/control-2.2.4/@tf/tf.m
>
>  -- Function File: S = tf ("S")
>  -- Function File: Z = tf ("Z", TSAM)
>  -- Function File: SYS = tf (SYS)
>  -- Function File: SYS = tf (N
>
>
> Why are some of the things in control pkg available and others are not?????
>
> Doug
>
>
>
> --
> DAS

I can't help it. You have to type "help @lti/c2d". It is explained in the control.pdf, located in /home/doug/octave/control-2.2.4/doc:

> Using the help function
> Some functions of the control package are listed with a leading @lti/. This is only needed to view the help text of the function, e.g. help norm shows the built-in function while help @lti/norm shows the overloaded function for LTI systems. Note that there are LTI functions like pole that have no built-in equivalent.
> When just using the function, the leading @lti/ must not be typed. Octave selects the right function automatically. So one can type norm (sys, inf) and norm (matrix, inf) regardless of the class of the argument.

Lukas




--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

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