Overview
Comment:Use simpar to set time axis (as in step response equivalent)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ea49cb21e238c8341fab4e2b21d7f1facd2bd13a7c2ca83d3914cf2b807f8358
User & Date: gawthrop@users.sourceforge.net on 2006-03-21 00:14:19
Other Links: branch diff | manifest | tags
Context
2006-03-21
21:49:39
Piezo-electric transducer check-in: 1a35f9eeb0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
00:14:19
Use simpar to set time axis (as in step response equivalent) check-in: ea49cb21e2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2006-02-09
23:58:24
rtxi: builds but does not yet work. check-in: f2d02a4f65 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sm2ir_m from [eae4b74875] to [1eb0d56a1a].

29
30
31
32
33
34
35



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

# PARAMS="$PARAMS ;"

$MATRIX << EOF > sm2ir_m.log 2>mtt_error.txt

  % Read in the numeric system parameters
  mttpar = $1_numpar;




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

  $PARAMS

  %Defaults
  if exist('T')==0
    T=[0:0.1:10]
  end;

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

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







>
>
>




<


<
|
<







29
30
31
32
33
34
35
36
37
38
39
40
41
42

43
44

45

46
47
48
49
50
51
52

# PARAMS="$PARAMS ;"

$MATRIX << EOF > sm2ir_m.log 2>mtt_error.txt

  % Read in the numeric system parameters
  mttpar = $1_numpar;

 % Read in the simulation parameters
  simpar = $1_simpar;

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



  %Defaults

  T=[0:simpar.dt:simpar.last]';


  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 ]