www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ComplexScalarfromTwoRealScalarsExample.m

    %% Complex Scalar from Two Real Scalars  

%% 
% Use the |complex| function to create the complex scalar, |3 + 4i|. 
z = complex(3,4)