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

    %% Random Complex Numbers  

%% 
% Generate a single random complex number with real and imaginary parts
% in the interval (0,1). 
a = rand + 1i*rand