Dumb question about step
Giuseppe Marullo
giuseppe at marullo.it
Sat Feb 2 05:40:30 CST 2008
Javier,
many thanks about your answer. This will solve my problem (it works now) but
I am wondering if there is a way to use directly matlab sentences.
I know it is my fault not knowing much and not wanting to dig deeper than
the minimum but
it could be great to be able to handle at least the basic stuff without
having to change it.
Is there any compatibility switch that will turn octave into a "strict"
matlab clone?
Thanks again,
Giuseppe
-----Original Message-----
From: Javier Arantegui [mailto:javier.arantegui at gmail.com]
Sent: Saturday, February 02, 2008 12:22 PM
To: giuseppe at marullo.it
Cc: help-octave at octave.org
Subject: Re: Dumb question about step
Hi!
On Feb 2, 2008 10:18 AM, Giuseppe Marullo <giuseppe at marullo.it> wrote:
> step(num,den)
That's easy. You should user the function tf() to define your transfer
function. Type this instead:
step(tf(num,den))
Or define it like this:
G=tf(num, den)
and then:
step(G)
To view your function transfer, use sysout():
sysout(G)
Javier
--
Lee mi blog: "Un pequeño paso para Neil" http://up3n.wordpress.com/
More information about the Help-octave
mailing list