Code covered by the BSD License  

Highlights from
BSXCAT

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

BSXCAT

by Bruno Luong

 

25 Aug 2011

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 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
concatenate Bruno Luong 25 Aug 2011 13:39:07
cat Bruno Luong 25 Aug 2011 13:39:07
bsxfun Bruno Luong 25 Aug 2011 13:39:07
array Bruno Luong 25 Aug 2011 13:39:07

Contact us at files@mathworks.com