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

    %% Complex Exponential  
% Create a complex scalar representing a complex vector with radius, |r|,
% and angle from the origin, |theta|. 
r = 4;
theta = pi/4;

z = r*exp(1j*theta)