[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issue running an example from control package
From: |
Lukas Reichlin |
Subject: |
Re: issue running an example from control package |
Date: |
Tue, 8 Oct 2013 06:43:57 +0200 |
On 08.10.2013, at 02:36, Gustavo Marcano <address@hidden> wrote:
> How do you do?,
>
> I'm sorry for the question, but I'm new at this, just wanted to know why do i
> get an error when running this command on octave (I'm using ubuntu):
>
> "octave:1> s = tf ('s');"
>
> after pressing enter I get:
>
> "error: Invalid call to tf. Correct usage is:
>
> -- Function File: tf (NUM, DEN, TSAM, INNAME, OUTNAME)
>
>
> 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."
>
>
> I'm aware that "tf" function requires (and says so on the error message too)
> that the correct format is tf (NUM, DEN, TSAM, ...., but how in this page
> http://octave.sourceforge.net/control/function/tf.html the examples runs just
> fine.
>
>
>
> Thanks in advance
>
Hi Gustavo
It looks like you're using a very outdated version of the control package,
control-1.0.11, together with Octave 3.2.x. To get s = tf ('s') working, you
need the current Octave 3.6.x and control-2.4.4.
Hope this helps,
Lukas