[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave Control Toolbox: How to find the step response of a given state s
From: |
Roque Iozzo |
Subject: |
Octave Control Toolbox: How to find the step response of a given state signal? |
Date: |
Wed, 8 Apr 2009 18:21:14 -0700 (PDT) |
How to find the step response of a given state signal?
The 'step' function produces a plot or the step response data for a system
(i.e. y_1), but how can I plot the response of a state signal (i.e. x_1 or x_2)?
> A=[-1 -0.5;1 0];
> B=[0.5;0];
> C=[1 0];
> D=0;
> S=ss(A,B,C,D);
> S
S =
{
a =
-1.00000 -0.50000
1.00000 0.00000
b =
0.50000
0.00000
c =
1 0
d = 0
n = 2
nz = 0
tsam = 0
yd = 0
sys =
2 0 0 1
stname =
{
[1,1] = x_1
[1,2] = x_2
}
inname =
{
[1,1] = u_1
}
outname =
{
[1,1] = y_1
}
}
----------------------------------------------------------------------
GNU Octave Version 3.0.1
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686
----------------------------------------------------------------------
Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/
- Octave Control Toolbox: How to find the step response of a given state signal?,
Roque Iozzo <=