No BSD License
Highlights from
pickn
|
|
| File Information |
| Description |
B = PICKN(A,N,P)
Returns P random Picks of N items from vector A.
PickN assumes that each item can be repelaced after selection.
Example:
A list contains four elements: [1 2 3 4]
Show two possible combinations of choosing 3 items
from the list.
A = [1:4];
N = 3;
P = 2;
B = pickn(A,N,P)
1 3 1
2 4 1
If you specifcy P as the string 'all', then B will contain
all possible permutations. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 20 Feb 2006 |
Matthias Wetzel
|
|
|
| 04 Oct 2007 |
Jos x@y.z
|
|
|
| 14 Aug 2009 |
Richard Medlock
|
|
|
| Updates |
| 19 May 2003 |
Typo. 3rd arg was supposed to be P not C. If you have already downloaded the previous version, please change it to P, otherwise there is now a new version available. |
| 19 May 2003 |
Typo. 3rd arg was supposed to be P not C. If you have already downloaded the previous version, please change it to P, otherwise there is now a new version available. |
|
Contact us at files@mathworks.com