help-octave
[Top][All Lists]
Advanced

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

RE: bode not working: sys undefined


From: Uwe Dippel
Subject: RE: bode not working: sys undefined
Date: Sat, 10 Oct 2009 23:24:53 +0800
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

It looks like you didnt define the "sys" in the bode command. You can try to 
read here:

http://www.obihiro.ac.jp/~suzukim/masuda/octave/html/octave_127.html#SEC192

Look at the "State space system interface functions" for example.

Good luck.

From that link:

Example
        

octave:1> a = [1 2 3; 4 5 6; 7 8 10];
octave:2> b = [0 0 ; 0 1 ; 1 0];
octave:3> c = eye (3);
octave:4> sys = ss (a, b, c, [], 0, 3, 0, {"volts", "amps", "joules"});
octave:5> sysout(sys);
Input(s)
        1: u_1
        2: u_2
[....]

What I get, is the same thing as before:

octave:1> a = [1 2 3; 4 5 6; 7 8 10];
octave:2> b = [0 0 ; 0 1 ; 1 0];
octave:3> c = eye (3);
octave:4> sys = ss (a, b, c, [], 0, 3, 0, {"volts", "amps", "joules"});
error: `ss' undefined near line 4 column 7
octave:4>

(I would really like to understand what is going wrong here, seemingly
all the time!)

Uwe




reply via email to

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