%% Complex Scalar from One Real Scalar
% Create a complex scalar with zero imaginary part.

z = complex(12)

%
% Verify that z is complex.

isreal(z)

% Copyright 2012 The MathWorks, Inc.