image thumbnail

updated 8 days ago

COMBNSUB by Jos (10584)

Subset of all possible combinations of a fixed number of elements of a vector (v1.1, june 2013) (combination, subset, selection)

combnsub(V,N, IX)

image thumbnail

updated 22 days ago

Stacked Matrix Permutation by Emanuele Ruffaldi

Simplify the reordering of the sub-dimensions in a stacked matrices (matrix, stacked, permutation)

stackedpermute(X,sizes,order)

image thumbnail

updated 2 months ago

Graphical Calculator by shhebaz ghouri

addition,subtraction,plot,stem, permutation,combination. (addition, graphical, calculator)

calculator(varargin)

y=C(n,r);

y=P(n,r);

image thumbnail

updated 3 months ago

LVPermute by Ahmed A. Selman

A simple (Line Vector Permutation) function. (permutation, mathematics, physics)

[C,D,j]=lvpermute(varargin)

image thumbnail

updated 3 months ago

COMBN (4.3) by Jos (10584)

All combinations of N elements taken from the vector V. (combination, select, permutation)

combn(V,N)

image thumbnail

updated 9 months ago

NEXTPERMPOS by Jos (10584)

the next combination of values in specific positions (extension of PERMPOS) (permutation, combination, large)

nextpermpos(C)

image thumbnail

updated 10 months ago

one sample/paired samples permutation t-test with correction for multiple comparisons by David Groppe

One sample/paired samples permutation t-test with correction for multiple comparisons (bonferroni, randomization test, paired sample)

[pval, t_orig, crit_t, est_alpha, seed_state]=mult_comp_per...

image thumbnail

updated 12 months ago

ALL PERMUTATIONS OF SEQUENCE by Sandeep Solanki

Generates All Permutations of a sequence (math, function, permutation)

allperm(n)

image thumbnail

updated 1 year ago

ALLCOMB by Jos (10584)

All combinations of input (v3.0, may 2012) (all, combination, select)

image thumbnail

updated 1 year ago

Algorithmic pseudo-random permutations for large sequences by JD

permdata = createRandomPermutation(numobjects, nrounds) create a pseudo-random permutation (permutation, permutations, cryptography)

createRandomPermutation(numobjects, nrounds)

image thumbnail

updated 1 year ago

Random Weighted Selection by Adam Gripton

Randomly pick n from m>=n elements, biased with given linear weights without replacement. (random, weighted, selection)

Y=randweightedpick(h,n)

image thumbnail

updated 1 year ago

KTHCOMBN by Jos (10584)

K-th combination(s) of elements (combn, matrix, selection)

kthcombn (V,N,K)

image thumbnail

updated almost 2 years ago

Option Specifications and Permutations by Eric Cousineau

A simple way to use structured option structures in functions and produce permutations. (option, management, permutation)

exampleOverlay(optsIn)

optOverlay(opts, optsIn, recurseStructs)

optPermute(optVars)

image thumbnail

updated 2 years ago

Generate Exhaustive Permutations by Michael Chan

Illustrates generation of exhaustive permutation of symbols given the symbolic bases. (bioinformatics, permutation, combinatorics)

computePermutationSeqForSpecificIndex (bases, lengthOfPermu...

convertIndexRepresentedPermutationsToSymbolPermutations (ma...

generateExhaustivePermutation(bases, lengthOfPermutation)

image thumbnail

updated 2 years ago

QAP Rand Matrix Swap by Puck Rombach

Randomly permutes an adjacency matrix, preserving the network it represents, as needed for QAP test. (random, permutation, adjacency matrix)

qapmatrixswap(Y)

image thumbnail

updated 2 years ago

Shuffle by Jan Simon

Random permutation of array elements, C-Mex: much faster than RANDPERM (statistics, vector, mix)

Shuffle(Arg1, Arg2, Arg3)

uTest_Shuffle(doSpeed, doBias)

image thumbnail

updated 2 years ago

RANDPERMFULL (derangement) by Jos (10584)

RANDPERMFULL (N) returns a random derangement (complete permutation) of the integers from 1 to N (permutation, derangement, random)

randpermfull(N)

image thumbnail

updated 2 years ago

All Permutations of integers with sum criteria by Bruno Luong

All Pernutations of integers with sum criteria (permutation l1 polyno..., permutation, l1)

allVL1(n, L1, L1ops, MaxNbSol)

image thumbnail

updated almost 3 years ago

nextperm by Steven Gregory

Outputs the next permutation of the ordered tuple x. (permutation, permutation iterator, mathematics)

nextperm(x,n)

image thumbnail

updated 3 years ago

RANDSUBSET by Bruno Luong

Return a random subset of k elements of the set of n elements (randperm, subset, random)

randsubset(v, k)

randsubset_install

randsubset_matlab(v, k)

image thumbnail

updated 3 years ago

Unique random permutations by Ged Ridgway

Random sample (without replacement) from unique permutations of a vector or row-perms of a matrix (unique, random, permutation)

nchoosek_m(n, k, m)

perms_m(n, m)

sample_no_repl(n, k)

image thumbnail

updated 3 years ago

parameter combination by Zeshan Yao

it permutes all the element-wise combination of N parameter arrays (permutation, parameter, combination)

permutor(para)

image thumbnail

updated 3 years ago

NCHOOSE (v2.1 mar 2010) by Jos (10584)

return all combinations of the elements of a set (nchoosek, combination, set)

nchoose(S)

image thumbnail

updated 3 years ago

RNDTTEST by Giuseppe Cardillo

An alternative to Student t-test assessing difference in means. (statistics, permutation, probability)

pv=rndttest(varargin)

image thumbnail

updated 3 years ago

Generate random permutation order without using sort() by Ragaar Ashnod

by Ragaar 13 Oct 2009 (mathematics, random number generat..., statistics)

randp(m)

image thumbnail

updated almost 4 years ago

NextVector toolbox by Ben Petschel

files for iterating over permutations, combinations, subsets and vectorized for/while loops (next, next vector, perms)

vout=nextchoose(v,w)

vout=nextfor(v,lo,hi,dx)

vout=nextperm(v)

image thumbnail

updated 4 years ago

Subfactorial by Yash

Calculate subfactorial of integers up to 170. (subfactorial, mathematics, integer math)

subfactorial(n)

image thumbnail

updated 4 years ago

Set partition by Bruno Luong

List all partitions a set n elements (bell, stirling, combination)

Bell(n)

DispPartObj(list, Obj, options)

ReplacePartObj(list, Obj)

image thumbnail

updated 4 years ago

FACTORADIC by Darren Rowland

Obtain the factorial radix representation of a number. (factoradic, factorial radix, lehmer code)

factoradic(m,n)

image thumbnail

updated 4 years ago

combinations by Gautam Vallabha

Returns combinations of a set of numeric or cell vectors (uses a memory-efficient algorithm) (permute, permutation, permutations)

combinations(varargin)

image thumbnail

updated 4 years ago

CIRCULANT (v2.0, feb 2009) by Jos (10584)

(yet another, but fast) Circulent Matrix (matrix, matrix manipulation, matrices)

circulant(A,d)

image thumbnail

updated 4 years ago

BinomialProbability by Michael Robbins

Probability of surviving k of n trials where the outcome is to win or to lose. (probability, chance, combination)

BinomialProbability(n,k,p)

image thumbnail

updated 5 years ago

NCHOOSE2 (v2.1 - jun 2008) by Jos (10584)

all combinations of two elements (matrices, pick, combinations)

nchoose2(X)

image thumbnail

updated 5 years ago

sort2li by Garrett Euler

Transforms permutation indices from sort to linear indices (matrices, sort indices, transforms)

[li]=sort2li(i,dim)

image thumbnail

updated 6 years ago

FACTORIALM by Jos (10584)

Factorial function for matrices (factorial, combination, permutation)

factorialm (M)

image thumbnail

updated 6 years ago

Picking elements from a set by Stefan Stoll

Gives all possibilities of picking k elements from a set of N with/without order/repetition. (ball picking, multichoose, combination)

pick(V,k,Type)

image thumbnail

updated almost 9 years ago

PARTPERM -- Partial random permutation of a vector by David Fass

Partial random permutation of a vector. (statistics, probability, permute)

partperm(x,idx,varargin)

image thumbnail

updated almost 9 years ago

CARTPROD: Cartesian product of multiple sets by David Fass

Returns a matrix containing the cartesian product of multiple input sets. (sets, cartesian, product)

cartprod(varargin)

image thumbnail

updated almost 9 years ago

MYRANDPERM -- A simple variation on RANDPERM by David Fass

Randomly permutes elements of input matrix. (statistics, probability, random)

myrandperm(inputMat)

image thumbnail

updated 10 years ago

pickn by Richard Medlock

Return P random picks of N items from an input vector A. (statistics, probability, pick)

pickn(A,N,P)

Contact us