Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.67 KB File ID: #32681

BSXCAT

by

 

Concatenate two arrays along a specific dimension with auto expansion of singleton enabled.

| Watch this File

File Information
Description

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)

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us