MATLAB : Permutation without replacement matrix ... a smaller examplek = 2 ;n = 4 ;v = perms(1:k) % all permutations of values 1:kv = [zeros(size(v,1),1) v] ...
確定! 回上一頁