interweave

This function interweaves (alternates/overlaps) the columns of equal-sized matrices A,B,C...
1,1K Downloads
Aktualisiert 24. Jan 2009

Lizenz anzeigen

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)

Zitieren als

John T. McCarthy (2024). interweave (https://www.mathworks.com/matlabcentral/fileexchange/18507-interweave), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

Added the tag 'overlap'

1.0.0.0

Change category to 'Matrix Manipulation'