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

    %% All Permutations of Double Integers  

%%  
v = [2 4 6];
P = perms(v)