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.11 1996/08/24 14:02:39 peter
# Included glabal parameter passing.
# Proper error handling.
#
## Revision 1.10 1996/08/19 15:34:14 peter
## Now based on state - not descriptor matrices.
##
|
>
>
>
|
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.12 1996/09/12 18:45:31 peter
# Back to rcs.
#
# Revision 1.11 1996/08/24 14:02:39 peter
# Included glabal parameter passing.
# Proper error handling.
#
## Revision 1.10 1996/08/19 15:34:14 peter
## Now based on state - not descriptor matrices.
##
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
then
PARAMS='T=[0:0.1:10];u0=ones(nu,1);x0=zeros(nx,1);'
echo Using default parameter $PARAMS
else
PARAMS=$2;
fi
PARAMS="$PARAMS ;"
$MATRIX << EOF > sm2sr_m.log 2>mtt_error.txt
% Read in the numeric system parameters
$1_numpar;
[nx,ny,nu,nz,nyz] = $1_def;
|
|
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
then
PARAMS='T=[0:0.1:10];u0=ones(nu,1);x0=zeros(nx,1);'
echo Using default parameter $PARAMS
else
PARAMS=$2;
fi
# PARAMS="$PARAMS ;"
$MATRIX << EOF > sm2sr_m.log 2>mtt_error.txt
% Read in the numeric system parameters
$1_numpar;
[nx,ny,nu,nz,nyz] = $1_def;
|