function y = ctranspose(x)
% Fixed-point MATLAB Coder library function for complex conjugate transpose (Y = X')

% Copyright 2007-2014 The MathWorks, Inc.

%#codegen
eml_invariant(ndims(x)<=2,'fixed:fi:transposeNDArray');
eml_invariant(isreal(x) || ~eml_isslopebiasscaled(x), ...
           'fixed:fi:notDefinedForComplexSlopeBiasFi','ctranspose');


if isreal(x)
  y = eml_fimathislocal(x.',eml_fimathislocal(x));
else
  y = eml_fimathislocal((conj(x)).',eml_fimathislocal(x));
end
