home *** CD-ROM | disk | FTP | other *** search
- % function out = vconj(mat)
- %
- % Complex conjugate for VARYING/CONSTANT matrices, a
- % VARYING matrix version of MATLAB CONJ function.
- %
- % See also: CONJ, VEBE, and VEVAL.
-
- function out = vconj(mat)
- if nargin ~= 1
- disp('usage: out = vconj(mat)')
- return
- end
- [mtype,mrows,mcols,mnum] = minfo(mat);
- if mtype == 'vary'
- out = mat;
- out(1:mrows*mnum,1:mcols) = conj(mat(1:mrows*mnum,1:mcols));
- elseif mtype == 'syst'
- error('VCONJ is undefined for SYSTEM matrices')
- elseif mtype == 'cons'
- out = conj(mat);
- else
- out = [];
- end
- %
- % Copyright MUSYN INC 1991, All Rights Reserved
-