Overview
Comment:Removed log history.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 52f242e1365f621a0749ec1662e1125247c3c88ec9652ba930dc7fd393c6037c
User & Date: gawthrop@users.sourceforge.net on 1996-10-01 16:48:18
Other Links: branch diff | manifest | tags
Context
1996-10-20
17:18:36
Initial revision check-in: d924118982 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-10-01
16:48:18
Removed log history. check-in: 52f242e136 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:36:57
Initial revision check-in: ea3d8d4132 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/sm2ir.m from [f89eee5428] to [3071e22744].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function [Y,X] = sm2ir(A,B,C,D,T,u0,x0);
% [Y,X] = sm2ir(A,B,C,D,T,u0,x0);
% Constrained-state matrix to impulse response.
% A,B,C,D,E - (constrained) state matrices
% T vector of time points
% u0 input gain vector: u = u0*unit step.


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


[Ny,Nu] = size(D);
[Ny,Nx] = size(C);

if max(max(abs(D)))~=0
  mtt_info('D matrix non-zero - ignoring');
end;







<
<
<
<
<
<
<
<







1
2
3
4
5
6
7








8
9
10
11
12
13
14
function [Y,X] = sm2ir(A,B,C,D,T,u0,x0);
% [Y,X] = sm2ir(A,B,C,D,T,u0,x0);
% Constrained-state matrix to impulse response.
% A,B,C,D,E - (constrained) state matrices
% T vector of time points
% u0 input gain vector: u = u0*unit step.










[Ny,Nu] = size(D);
[Ny,Nx] = size(C);

if max(max(abs(D)))~=0
  mtt_info('D matrix non-zero - ignoring');
end;


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