12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.13 1997/06/13 12:52:18 peterg
## Removed extra ; from $PARAMS
##
# Revision 1.12 1996/09/12 18:45:31 peter
# Back to rcs.
#
# Revision 1.11 1996/08/24 14:02:39 peter
|
>
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14 1998/07/25 10:00:48 peterg
## *** empty log message ***
##
## Revision 1.13 1997/06/13 12:52:18 peterg
## Removed extra ; from $PARAMS
##
# Revision 1.12 1996/09/12 18:45:31 peter
# Back to rcs.
#
# Revision 1.11 1996/08/24 14:02:39 peter
|
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
% Read in the simulation parameters
$1_simpar;
[nx,ny,nu,nz,nyz] = $1_def;
t=0; %Just in case it appears in the parameter list.
T=[0:DT:LAST]'
if exist('u0')==0
u0 = ones(nu,1);
end;
if exist('x0')==0
x0 = zeros(nx,1);
|
|
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
% Read in the simulation parameters
$1_simpar;
[nx,ny,nu,nz,nyz] = $1_def;
t=0; %Just in case it appears in the parameter list.
T=[0:mttDT:mttLAST]'
if exist('u0')==0
u0 = ones(nu,1);
end;
if exist('x0')==0
x0 = zeros(nx,1);
|