Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 6 months ago

nthperm by Peter Li

Directly compute Nth lexicographic permutation (permutation, mex, c)

nthperm(v, n)

image thumbnail

updated 7 months ago

Fast batch generation of permutations by Peter Li

Get next block of lexicographic permutations of input vector (permutation, combinatorics, mex)

nextperms.m

nextperms_example_script.m

image thumbnail

updated 8 months ago

nth_element by Peter Li

MEX wrap of C++ nth_element. Plus fast_median, a faster median function. In-place and parallel. (nth_element, c, mex)

fast_median.m

fast_median_ip.m

nth_element.m

image thumbnail

updated almost 2 years ago

waitfordata by Peter Li

Block Matlab while specified fig is open, then grab APPDATA when fig is closing. (gui)

waitfordata(f, datanames)

image thumbnail

updated 2 years ago

More intuitive subplot by Peter Li

Matlab's subplot is useful for throwing figures together but the indexing is very counter-intuitive. (plot, gui)

sanesubplot(nrows, ncols, thisPlot, varargin)

image thumbnail

updated 7 years ago

LSM File Toolbox by Peter Li

Functions for reading info databases of Zeiss LSM confocal microscope files. (data import, data export, lsm)

channelinforead(fid, lsminf)

ifdread(fid)

lsminfo(filename)

image thumbnail

updated 7 years ago

scanfc by Peter Li

scanf rewritten to give cell arrray output (data import, data export, scanf)

scanfc.m

Contact us