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: 4db48d740061cb355c42a683bbd4f46217eabf5ede611cf122795d5dce9ea66f
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: ac9380a7a1 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: 4db48d7400 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2006-02-09
23:58:24
rtxi: builds but does not yet work. check-in: ad331691bf 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 ]