Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 7 months ago

Min/Max selection by Bruno Luong

Search for k smallest or largest elements in the array (min, max, sorting)

buildInternal_mxArrayDef(mxArraydefFilename)

getmexopts(Tag)

maxk(varargin)

image thumbnail

updated 10 months ago

ISFUNCTION by Jos (10584)

true for valid matlab functions (v3.1, feb 2014) (function, isfunction, matlab function)

isfunction(FUN)

image thumbnail

updated 10 months ago

LOGICALEXPAND by Jos (10584)

expand (or shrink) series in a logical vector (v2.0, feb 2014) (logical, find, shrink)

logicalexpand(TF,N)

image thumbnail

updated 10 months ago

HEX2RGB by Jos (10584)

Convert hexadecimal color strings to RGB values (v1.0, feb 2014) (color, hexadecimal, conversion)

hex2rgb(HEX)

image thumbnail

updated 10 months ago

ALLCOMB by Jos (10584)

All combinations of input (v4.0, feb 2014) (matrices, all, combination)

allcomb(varargin)

image thumbnail

updated 11 months ago

LOGICALFIND by Jos (10584)

Find occurrences of consecutive non-zeros in a vector (v1.0, jan 2014) (find, matrices, search)

logicalfind(V, N)

image thumbnail

updated 1 year ago

CATSTRUCT by Jos (10584)

Concatenate/merge structures (v4.0, dec 2013). (structures, cell arrays, structure)

catstruct(varargin)

image thumbnail

updated 1 year ago

FOURPLOT by Jos (10584)

Four-plot for efficient visual exploratory data analysis, with box plot (V2.0, july 2013) (statistics, data inspection, normality)

fourplot(X)

image thumbnail

updated 1 year 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 1 year ago

Sylvester Matrix by Jos (10584)

SYLVESTER - Sylvester matrix of two polynomials (v3.0, june 2013) (matrix, polynomials, polynomial)

sylvester(P,Q ,MpMq)

image thumbnail

updated 1 year ago

COMBN (4.3) by Jos (10584)

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

combn(V,N)

image thumbnail

updated almost 2 years ago

NCHOOSECRIT (V1.0 feb 2013) by Jos (10584)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion (combinations, sets, subsets)

nchoosecrit(S, FUN)

image thumbnail

updated 2 years ago

FACTORIALRATIO by Jos (10584)

Ratio of factorials, as in (a!b!c!...) / (d!e!f!g!...) (version 2.0, oct 2012) (factorial, product, large numbers)

factorialratio(A,B)

image thumbnail

updated 2 years ago

NEXTPERMPOS by Jos (10584)

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

nextpermpos(C)

image thumbnail

updated 2 years ago

NEARESTPOINT (sep 2012) by Jos (10584)

NEARESTPOINT - find the nearest value in another vector (statistics, probability, distance)

nearestpoint(x,y,m)

image thumbnail

updated 2 years ago

KTHVALUE (v2.1, jun 2012) by Jos (10584)

select the k-th smallest element in a (randomized) list (matrix, sort, select)

kthvalue(L,K)

image thumbnail

updated 2 years ago

getkey by Jos (10584)

Get a (single) keypress (v2.0, june 2012) (keypress, keyboard, input)

getkey(N,nonascii)

image thumbnail

updated 2 years ago

TRIPLESTEST by Jos (10584)

a non-parametric test for asymmetry (statistics, probability, test symmetry nonpara...)

triplestest(X, alpha)

image thumbnail

updated almost 3 years ago

Shuffle Numbers by Aamir Alaud-din

Shuffles numbers in a given matrix or vector (statistics, finance, mathematics)

shuffle(X)

image thumbnail

updated almost 3 years ago

GetKeyWait by Jos (10584)

Wait a certain time for a single keypress (v2.1, jan 2012). (keypress, kbhit, input)

getkeywait(m)

image thumbnail

updated almost 3 years ago

KTHCOMBN by Jos (10584)

K-th combination(s) of elements (combinations, permutations, selection)

kthcombn (V,N,K)

image thumbnail

updated 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 3 years ago

RANDBLOCK by Jos (10584)

scramble matrices using blocks (v2.3, mar 2011) (matrices, random, shuffle)

randblock(M,S)

image thumbnail

updated almost 4 years ago

MOVENAN (v1.0, mar 2011) by Jos (10584)

Move NaNs to the beginning or end of a column (matrix, manipulation, sort)

movenan (X, direction)

image thumbnail

updated almost 4 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 almost 5 years ago

FLIPXYVIEW (v2.0, mar 2010) by Jos (10584)

flips (mirror rotates) the horizontal and vertical plot axes (plot, axes, flip)

flipxyview (hAxes)

image thumbnail

updated almost 5 years ago

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

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

nchoose(S)

image thumbnail

updated almost 5 years ago

CELL2FLOAT by Jos (10584)

converts cell array into scalar float array (v4.0, jan 2010) (matrices, cell, double)

cell2float(C, Filler, StopOnError)

image thumbnail

updated 5 years ago

UNIQUEWITHEQUALNANS by Jos (10584)

Set unique, treating NaNs as equal (v2.0, mar 2009) (matrices, unique, sort)

uniquewithequalnans(A,varargin)

image thumbnail

updated 5 years ago

BALLATSQ by Jos (10584)

Create a balanced latin square (v2.2, mar 2009) (statistics, probability, balanced latin)

ballatsq(N)

image thumbnail

updated 5 years ago

RANDP by Jos (10584)

Random integers with given probabilities ( (v2.0) (statistics, probability, rand)

randp(P,varargin) ;

image thumbnail

updated almost 6 years ago

FISHERTEST by Jos (10584)

Fisher Exact test for 2-x-2 contingency tables (fisher, statistical, test)

fishertest(M, alpha)

image thumbnail

updated almost 6 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 almost 6 years ago

LATSQ by Jos (10584)

(randomized) Latin Square (statistics, probability, latin square randomiz...)

latsq(N)

image thumbnail

updated almost 6 years ago

NDLINSPACE (v1.1, feb 2008) by Jos (10584)

Generalized LINSPACE: linearly spaced values between mutliple points (matrices, values, interpolate)

ndlinspace(M1,M2,N)

image thumbnail

updated almost 6 years ago

FINDIND by Jos (10584)

find indices of matching elements between two matrices (v2.0, jan 09) (indices, find, match)

findind(A,B)

image thumbnail

updated almost 6 years ago

CountMember by Jos (10584)

Count members. (count member, cell, hist)

countmember(A,B)

image thumbnail

updated 6 years ago

RANDPERMBREAK (v1.1, nov 2008) by Jos (10584)

randomize the order of elements within sections of a vector (rand, sections, matrix manipulation)

randpermbreak(N,BP, bpfixed)

image thumbnail

updated 6 years ago

SORTBREAK (v1.0, nov 2008) by Jos (10584)

sort elements of a vector between break points (sort, sections, vector)

sortbreak(X,BP, bpfixed) ;

image thumbnail

updated 6 years ago

SORTSET (v2.0) by Jos (10584)

Sort a set according to a user-defined order (matrices, sort, set)

sortset(S, ORDER, DIM)

image thumbnail

updated 6 years ago

RANDINTERVAL by Jos (10584)

random numbers within multiple intervals (statistics, probability, rand)

randinterval(N, Interval, Weight)

image thumbnail

updated 6 years ago

RESETREPLICATES by Jos (10584)

change the value of replicated elements in a matrix (matrices, unique, rows)

resetreplicates(X,DIM,VAL) ;

image thumbnail

updated 6 years ago

SLIDEFUN (v4.0, sep 2008) by Jos (10584)

apply function to a moving window over a vector (matrices, moving, window)

slidefun (FUN, W, V, windowmode, varargin)

image thumbnail

updated 6 years ago

STOPLOOP (v1.0, jun 2008) by Jos (10584)

Shows stop button to interrupt loops (stop, loop, interrupt)

stoploop(str)

image thumbnail

updated 6 years ago

FILLZERO (v2.1, may 2008) by Jos (10584)

replaces zeros of an array with preceeding non-zero values (matrices, fill, zero)

fillzero(X, DIM)

image thumbnail

updated 6 years ago

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

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

nchoose2(X)

image thumbnail

updated 6 years ago

INSERTROWS (v2.0, may 2008) by Jos (10584)

Insert rows into a matrix at specific locations (matrices, insert, reshape)

insertrows(A,B,ind)

image thumbnail

updated 6 years ago

MATCHROW (v1.1, may 2008) by Jos (10584)

Match elements in the rows of a matrix (matrices, find row match ismemb...)

matchrow(M,S)

image thumbnail

updated 6 years ago

SHAKE by Jos (10584)

Randomize a matrix along one dimension (ver 4 .1 may 2008) (matrices, rand, randomize)

shake(X,dim)

image thumbnail

updated 6 years ago

YESNO by Jos (10584)

let user choose between yes or no (yes, no, question)

yesno(m)

Contact us