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

    %% All Permutations of Complex Numbers  

%%  
v = [1+1i 2+1i 3+1i];
P = perms(v)