interweave

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

Visualizza la licenza

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)

Cita come

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

Compatibilità della release di MATLAB
Creato con R2006a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Resizing and Reshaping Matrices in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

Added the tag 'overlap'

1.0.0.0

Change category to 'Matrix Manipulation'