bsxfun
Apply element-wise operation to two arrays with implicit expansion enabled
Syntax
Description
Examples
Input Arguments
Tips
It is recommended that you replace most uses of
bsxfun
with direct calls to the functions and operators that support implicit expansion. Compared to usingbsxfun
, implicit expansion offers faster speed of execution, better memory usage, and improved readability of code. For more information, see Compatible Array Sizes for Basic Operations.
Extended Capabilities
Version History
Introduced in R2007a