11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6 1996/08/24 14:11:04 peter
## Global parameter passing.
##
## Revision 1.5 1996/08/18 12:01:26 peter
## Unified format of time responses.
##
## Revision 1.4 1996/08/16 13:04:46 peter
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 1996/09/12 18:41:48 peter
## Standard error handling added.
##
## Revision 1.6 1996/08/24 14:11:04 peter
## Global parameter passing.
##
## Revision 1.5 1996/08/18 12:01:26 peter
## Unified format of time responses.
##
## Revision 1.4 1996/08/16 13:04:46 peter
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
echo Creating $1_odes.m
rm -f ode2odes_m.log
if [ "$2" = "" ];
then
PARAMS='T=[0:0.1:10]; x0=zeros(nx,1);'
echo Using default parameter $PARAMS
else
PARAMS=$2;
fi
PARAMS="$PARAMS ;"
|
>
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
echo Creating $1_odes.m
rm -f ode2odes_m.log
if [ "$2" = "" ];
then
PARAMS='T=[0:0.1:10]; x0=zeros(nx,1);'
echo Using default parameter $PARAMS
echo $PARAMS>$1_args.m
else
PARAMS=$2;
fi
PARAMS="$PARAMS ;"
|