bsxcat(dim, varargin)
Version 1.1.0.0 (1,94 ko) par
Bruno Luong
Concatenate two arrays along a specific dimension with auto expansion of singleton enabled.
Examples:
Insert the zeros-row on top of 3x3 matrix
M = magic(3)
bsxcat(1,0,M)
Concatenate the ones-column on right of 3x3 matrix
M = magic(3)
bsxcat(2,M,1)
Citation pour cette source
Bruno Luong (2025). bsxcat(dim, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/32681-bsxcat-dim-varargin), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Extend BSXCAT to deal with to multiples (>2) arrays |
||
1.0.0.0 |