Overview
Comment:New simpar version
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6897916da448e1aabd08268d0cf55d14a6c1752fba8d0307ae69b3023c1499a6
User & Date: gawthrop@users.sourceforge.net on 1998-07-27 20:31:40
Other Links: branch diff | manifest | tags
Context
1998-07-27
20:32:11
Octave mode forced check-in: 91bb1d0f48 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:31:40
New simpar version check-in: 6897916da4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:31:05
Allow 2D arrays check-in: f7ad33ddfb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sm2sr_m from [ef5a6badb5] to [ff6fb9a1d5].

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.13  1997/06/13 12:52:18  peterg
## Removed extra ; from $PARAMS
##
# Revision 1.12  1996/09/12  18:45:31  peter
# Back to rcs.
#
# Revision 1.11  1996/08/24  14:02:39  peter







>
>
>







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.14  1998/07/25 10:00:48  peterg
## *** empty log message ***
##
## Revision 1.13  1997/06/13 12:52:18  peterg
## Removed extra ; from $PARAMS
##
# Revision 1.12  1996/09/12  18:45:31  peter
# Back to rcs.
#
# Revision 1.11  1996/08/24  14:02:39  peter
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

  % Read in the simulation parameters
  $1_simpar;

  [nx,ny,nu,nz,nyz] = $1_def;
  t=0;	%Just in case it appears in the parameter list.

  T=[0:DT:LAST]'

  if exist('u0')==0
    u0 = ones(nu,1);
  end;

  if exist('x0')==0
    x0 = zeros(nx,1);







|







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93

  % Read in the simulation parameters
  $1_simpar;

  [nx,ny,nu,nz,nyz] = $1_def;
  t=0;	%Just in case it appears in the parameter list.

  T=[0:mttDT:mttLAST]'

  if exist('u0')==0
    u0 = ones(nu,1);
  end;

  if exist('x0')==0
    x0 = zeros(nx,1);


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