Differences From Artifact [d12dfc7f81]:

To Artifact [d561b3e13c]:


11
12
13
14
15
16
17



18
19
20
21
22
23










24
25
26

27

28
29

30
31
32
33
34
35
36
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

41
42

43
44
45
46
47
48
49
50







+
+
+






+
+
+
+
+
+
+
+
+
+



+
-
+

-
+







# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2  1996/08/11 09:32:12  peter
## Now takes the numpar parameters correctly
##
## Revision 1.1  1996/08/10 14:11:11  peter
## Initial revision
##
###############################################################

echo Creating $1_fr.dat

if [ "$2" = "" ]; 
then
  PARAMS='w=logspace(-1,2,100);'
  echo Using default parameter $PARAMS
else
  PARAMS=$2;
fi

 echo $PARAMS

$MATRIX << EOF  | awk '$1 !~ /[A-Za-cf-z]/ && NF>0 {print} '  >$1_fr.dat

  $PARAMS;
  W = logspace(-1,2,100);

  [A,B,C,D,E] = $1_dm($1_numpar);
  fr = dm2fr(A,B,C,D,E,W);
  fr = dm2fr(A,B,C,D,E,w);

  rfr = real(fr);
  ifr = imag(fr);

  [Ny,Nu]=size(D);
  NN = Ny*Nu;


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]