How to build these vectors?
1 view (last 30 days)
Show older comments
I want to build all vector P's satisfying this: P=[p1 p2 ... pk] pi=1,...,N ,i=1,...,k for i>j : pi > pj Note that I know how to build them using k for loops. I need a code which is useful for all pairs of (N,k) Thanks
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!