Overview
Comment: | Put in a conj to undo effect of transpose. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
22c8905b17ae500506be795c86d8d23b |
User & Date: | gawthrop@users.sourceforge.net on 1996-08-15 12:50:51 |
Other Links: | branch diff | manifest | tags |
Context
1996-08-15
| ||
16:23:02 | Now uses W in place of w for consistancy with time responses. check-in: 08362f64e8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
12:50:51 | Put in a conj to undo effect of transpose. check-in: 22c8905b17 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
12:46:59 | Removed a spuriuos echo. check-in: d98dd81d26 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/dm2fr.m from [fe21ca30b0] to [4382f8c844].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | function fr = dm2fr(A,B,C,D,E,W,u0) % fr = dm2fr(A,B,C,D,E,W,u0) % Descriptor matrix to frequency response. % A,B,C,D,E - descriptor matrices % W vector of frequency points % u0 input gain vector: u = u0*unit phasor % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.2 1996/08/15 10:24:28 peter % %% Includes u0 argument. % %% % %% Revision 1.1 1996/08/10 14:11:28 peter % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | function fr = dm2fr(A,B,C,D,E,W,u0) % fr = dm2fr(A,B,C,D,E,W,u0) % Descriptor matrix to frequency response. % A,B,C,D,E - descriptor matrices % W vector of frequency points % u0 input gain vector: u = u0*unit phasor % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.3 1996/08/15 11:53:44 peter % %% Now has u0 input vector % %% % %% Revision 1.2 1996/08/15 10:24:28 peter % %% Includes u0 argument. % %% % %% Revision 1.1 1996/08/10 14:11:28 peter % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
︙ | ︙ | |||
28 29 30 31 32 33 34 | end; fr = zeros(N,Ny); i = 0; for w = W' i = i+1; FR = C*( (E*j*w - A) \ B ) + D; | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | end; fr = zeros(N,Ny); i = 0; for w = W' i = i+1; FR = C*( (E*j*w - A) \ B ) + D; fr(i,:) = conj(FR'); end; |
︙ | ︙ |