image thumbnail

updated 1 year ago

slices by Jeremy Manning

Slice a tensor (n-d matrix) along the d^th dimension. (repmat, cellfun, arrayfun)

slices(m,d)

image thumbnail

updated 4 years ago

objfun by Arturo Serrano

Apply a function to each object of an object array. (cellfun, object, vectorization)

objfun (fun, x, varargin)

image thumbnail

updated 5 years ago

lookupTable by Dan Cohn

Creates a lookup table for a collection of key/value pairs (structures, cell arrays, lookup table)

lookupTable(varargin)

image thumbnail

updated 5 years ago

csxfun by Dan Cohn

bsxfun for cell arrays (structures, cell arrays, cell)

csxfun(fhandle,x,y,varargin)

image thumbnail

updated 5 years ago

apply by Stephen Lienhard

Apply a function looping over a dimension of a matrix (matrices, arrayfun, margin)

apply(fun,x,dim,varargin) %#ok<INUSL>

image thumbnail

updated 5 years ago

BLOCKFUN applies function on sub blocks of an array by Mathias Ortner

partition an ND-array into sublocks and then applies a function on each block (matrices, cellfun, arrayfun)

X=blockfun(X,S,fun)

image thumbnail

updated almost 7 years ago

GROUP2CELL by Jos (10584)

group values into cells (cellfun, hist, group)

group2cell(V,gr)

image thumbnail

updated almost 10 years ago

mapcell by D. Simms

MAPCELL like cellfun, but fun can be anything feval'able. (structures, cell arrays, cellfun)

mapcell( fun, C, varargin )

Contact us