interweave
by John T. McCarthy
29 Jan 2008
(Updated 24 Jan 2009)
This function interweaves (alternates/overlaps) the columns of equal-sized matrices A,B,C...
|
Watch this File
|
| File Information |
| Description |
The first column of the output is the first column of A.
The second column of the output is the first column of B, followed by C etc.
Then the second columns of A,B,C...
The final column of the output is the final column of the last input matrix.
Example: A = ones(3); B = ones(3)*2;
C = ones(3)*3; D = interweave(A,B,C) |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 29 Jan 2008 |
Yi Cao
|
|
|
| 29 Jan 2008 |
Jos x@y.z
|
|
|
| 30 Jan 2008 |
Duane Hanselman
|
|
|
| Updates |
| 29 Jan 2008 |
Removed bug |
| 30 Jan 2008 |
Removed typo in description. |
| 30 Jan 2008 |
Changed filename from interlace to interweave, to avoid name duplication. |
| 04 Feb 2008 |
Simplified the code. |
| 29 Aug 2008 |
Change category to 'Matrix Manipulation' |
| 24 Jan 2009 |
Added the tag 'overlap' |
|
Contact us at files@mathworks.com