generating sequence of given numbers
2 views (last 30 days)
Show older comments
Given an array A
A=[0 1 2]
How can I generate different sequence of number in that array like below;
A=[0 2 1]
A=[1 0 2]
A=[2 0 1]
A=[1 2 0]
A=[2 1 0]
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!