# PARTPERM 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing : Freeware

Created : Sep 18, 2007

Downloads : 2

Thank you for voting...

## X = PARTPERM(A,IDX) randomly permutes the elements of ...

X = PARTPERM by David Fass(A, idx) randomly permutes the elements of vector A which are specified by vector idx. That is, the elements A(IDX) are randomly interchanged with one another and the resulting (partially permuted) vector is returned. No permutation occurs when length(IDX) < 2.

By default, permutation is subject to the constraint that all elements specifed by IDX must appear in new positions ("derangement"). If you don't like this,

By default, permutation is subject to the constraint that all elements specifed by IDX must appear in new positions ("derangement"). If you don't like this,

**use the following syntax:**

X = PARTPERM 1.0(A, IDX, 'allow') randomly permutes the elements of vector A which are specified by vector IDX, but allows indexed elements to remain unchanged if that is the natural result of the random permutation (i. e. , if after permutation an element's new location happens to be the same as its original location).**• MATLAB Release: R13**

**Demands:****PARTPERM 1.0 scripting tags:**matlab partperm, matlab statistics, elements, idx, randomly, location, statistics probability, vector, permutation.

**What is new in PARTPERM 1.0 software script?**- Unable to find PARTPERM 1.0 news.

**What is improvements are expecting?**Newly-made PARTPERM 1.1 will be downloaded from here. You may download directly. Please write the reviews of the PARTPERM. License limitations are unspecified.