Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

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

sub2allind by Michael Völker

convert subscripts to ALL corresponding indices (subscript, index, indices)

sub2allind(sz, varargin)

image thumbnail

updated 3 years ago

solar system formation 2d by Maxim Vedenyov

2d balls with friction and gravitations (solar system, formation, 2d)

F=calulate_forcies(r,n,G,idm,al,v)

[id id2 nn]=invers_distancies(r,n)

[r v n]=delete_far_points(r,v,rmx,n)

image thumbnail

updated 3 years ago

BSXCAT by Bruno Luong

Concatenate two arrays along a specific dimension with auto expansion of singleton enabled. (concatenate, cat, bsxfun)

bsxcat(dim, A, B)

image thumbnail

updated almost 4 years ago

MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support by James Tursa

Beats MATLAB 300% - 400% in some cases ... really! (mtimes, multiply, speed)

mtimesx.m

mtimesx_build(x)

mtimesx_sparse(a,transa,b,transb)

image thumbnail

updated 4 years ago

A more short code forgenerating a random matrix A of (1,-1); by Binbin Qi

A more short code for generating a random matrix A of (1,-1),no loop (bsxfun, randi)

A=randmatrix(m,n)

image thumbnail

updated 4 years ago

Embiggen by Patrick Mineault

Add (or multiply, divide, etc) a matrix A to a vector b with the simple syntax A + Embiggen(b) (bsxfun, elementwise, expansion)

Embiggen

image thumbnail

updated 5 years ago

bsxops by Bruno Luong

Force MATLAB operators to behave BSXFUN-like (bsxfun, array, expansion)

and(x,y)

and(x,y)

and(x,y)

image thumbnail

updated 5 years ago

multidimensional cell-based bsxfun generalization by michaelB brost

Preliminary M-ary singleton expansion based upon cell arrays sequentially sent to user function. (cell, bsxfun)

image thumbnail

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

Binary array expansion function by Paolo de Leva

element-by-element binary operations (e.g. plus, times, eq, gt) with array expansion (AX) enabled. (array expansion, bsxfun, array)

baxfun.m

testBAXFUN.m

image thumbnail

updated almost 6 years ago

bsxfun substitute by Douglas Schwarz

Substitute for bsxfun for older versions of MATLAB in which it is not built-in. (bsxfun, array expansion, singleton)

bsxfun(op,x,y)

make_bsx_mex

image thumbnail

updated 6 years ago

csxfun by Dan Cohn

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

image thumbnail

updated almost 7 years ago

bsxarg by James Tursa

bsxarg returns the physically expanded arrays associated with bsxfun (matrices, bsxarg, bsxfun)

image thumbnail

updated almost 7 years ago

bsxfun by James Tursa

bsxfun is a functional substitute for MATLAB intrinsic of the same name (matrices, bsxfun, bsxarg)

image thumbnail

updated almost 7 years ago

Tutorial: C mex matrix demo by Nick Clark

Index matrix in C like you would do in MATLAB! (optimization, array, vectorize)

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 almost 9 years ago

Generalized Array Operations by Douglas Schwarz

Computes generalized array operations by expanding singleton dimensions. (matrices, array, repmat)

genop(op,x,y)

Contact us