function a = realpow(b,c)
%REALPOW Real power.
%   REALPOW(X,Y) requires X.^Y to be real.
%
%   See also REALLOG, REALSQRT.

% $Revision: 1.7 $  $Date: 2000/06/19 16:57:08 $
% Copyright 1984-2000 The MathWorks, Inc.


a = b.^c;
if( any(any(imag(a))) ),
   error( 'Realpow produces complex result.' );
end
