Version 1.0.0 (2.47 KB) by Kenneth Johnson
Array indexing for binary singleton expansion
Updated 27 Jan 2022
bsxi can be used to apply bsxfun-type operations to selected dimensions (e.g., applying matrix operations like mtimes elementwise in dimensions 3, 4, ...), or for applying elementwise operations to non-numeric data types (structs and cell arrays).
Kenneth Johnson (2023). bsxi (https://www.mathworks.com/matlabcentral/fileexchange/105800-bsxi), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform CompatibilityWindows macOS Linux
Inspired: Generalized matrix operators
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.