Tagged: arrayfun

bsxfun

bsxfun – Apply element-by-element binary operation to two arrays with singleton expansion enabled Syntax C = bsxfun(fun,A,B) Description C = bsxfun(fun,A,B) applies an element-by-element binary operation to arrays A and B, with singleton expansion...

arrayfun

arrayfun – Apply function to each element of array Syntax A = arrayfun(fun, S) A = arrayfun(fun, S, T, …) [A, B, …] = arrayfun(fun, S, …) [A, …] = arrayfun(fun, S, …, ‘param1’,...