generation of permuted matrix
Show older comments
Hi!
I have a vector A=[2 3 6 5].
how could i generate a matrix from this arraý in this manner?
%
B=[A permuted(A) permuted(A).....]
Thank you
[edit]
May array has the length of 120! in matlab help i read that perms makes sense just for length less than 11. and am looking for B with size of (120*10).
2 Comments
Andrei Bobrov
on 6 Dec 2012
Edited: Andrei Bobrov
on 6 Dec 2012
See ADD in my answer.
Jos (10584)
on 6 Dec 2012
What is the function permuted doing to A?
What should B look like exactly, given A = [2 3 6 5]?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!