Overview
Comment:Now allows e format and NaN numbers.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: fa5c69c7a5518a268fdd44c062112cd04d2ab04a5f60db7be10c1ef4c4a310bf
User & Date: gawthrop@users.sourceforge.net on 1996-08-11 10:06:50
Other Links: branch diff | manifest | tags
Context
1996-08-11
10:37:40
Corrected mistake in step-response calculation. check-in: 88386835e8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:06:50
Now allows e format and NaN numbers. check-in: fa5c69c7a5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:45:46
Initial revision check-in: cb07c75350 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sm2sr_m from [255ad8ea1b] to [d36229dcc4].

12
13
14
15
16
17
18



19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################

echo Creating $1_sr.dat

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

  tmax=2; tstep=tmax/100;
  T = [0:tstep:tmax]';
  [A,B,C,D,E] = $1_dm($1_numpar);
  y = dm2sr(A,B,C,D,E,T);

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








>
>
>




|

|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1996/08/11 09:45:46  peter
## Initial revision
##
###############################################################

echo Creating $1_sr.dat

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

  tmax=0.01; tstep=tmax/100;
  T = [0:tstep:tmax]';
  [A,B,C,D,E] = $1_dm($1_numpar);
  y = dm2sr(A,B,C,D,E,T);

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


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