image thumbnail

updated 3 months ago

RayShapeArticle_FEX.zip by Paul Peeling

Solving Large Geometric and Visualization Problems with GPU Computing in MATLAB (ray tracing, rendering, computer graphics)

compareExecutionTime( N, L )

createTriangulatedSurface(N)

rayTriangleIntersection (o, d, p0, p1, p2)

image thumbnail

updated 4 months ago

3D Linear Interpolation for GPU by Philip

3D Linear Interpolation for GPU (gpu, interpolation, arrayfun)

Vi=interp3gpu(x1,x2,x3,V,x1i,x2i,x3i)

image thumbnail

updated 11 months ago

fitsize.m v1 (Jan 2014) by Carlos Adrian Vargas Aguilera

Forces arrays to have the same size by replications of the singleton dimensions. (repmat, bsxfun, cellfun)

fitsize(varargin)

image thumbnail

updated 2 years ago

Generalised Truth Tables by Richard Stapenhurst

Generate 'truth tables' where columns correspond to digits in arbitrary mixtures of bases. (truth table, combinatorics, counting)

ttable(values)

image thumbnail

updated 2 years 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 3 years ago

SVM Demo by Richard Stapenhurst

An interactive demo of how an SVM works, with comparison to a perceptron (demo, optimization, optimisation)

LinearClassifier

svm_demo

image thumbnail

updated almost 4 years ago

structfind by Dirk-Jan Kroon

Search for a value, cell or string inside a Matlab struct (structfind, struct, find)

index=structfind(a,field,value)

image thumbnail

updated 5 years ago

matrixfunction by Pierce Brady

summary (matrices, vectors, for loops)

matrixfun(hFunction,A,B,Dim)

matrixfuncc(hFunction,A,B)

matrixfunccn(hFunction,A,B)

image thumbnail

updated 7 years ago

apply by Stephen Lienhard

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

apply(fun,x,dim,varargin)

image thumbnail

updated 7 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)

Contact us