20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
rm -f mtt_error
if [ "$2" = "" ];
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 > sm2ir_m.log 2>mtt_error.txt
% Read in the numeric system parameters
$1_numpar;
[nx,ny,nu,nz,nyz] = $1_def;
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
rm -f mtt_error
if [ "$2" = "" ];
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 > sm2ir_m.log 2>mtt_error.txt
% Read in the numeric system parameters
$1_numpar;
[nx,ny,nu,nz,nyz] = $1_def;
|