REPLICATE
Versione 1.2.0.0 (1,76 KB) da
Mark Ruzon
Create a larger array by expanding each element of an array into a subarray.
REPLICATE is a companion to REPMAT, but instead of tiling a larger array with the input array, REPLICATE does the equivalent of calling REPMAT on each individual element and then tile the results together. It is faster than looping over each element. It supports 2D and 3D arrays.
Cita come
Mark Ruzon (2025). REPLICATE (https://www.mathworks.com/matlabcentral/fileexchange/22319-replicate), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Matrices and Arrays in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Revising sunspot numbers since the times of Galileo, EXPAND
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.