bsxcat(dim, varargin)
Versione 1.1.0.0 (1,94 KB) da
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)
Cita come
Bruno Luong (2024). bsxcat(dim, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/32681-bsxcat-dim-varargin), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2011a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Creating and Concatenating Matrices in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.