REPLICATE

Version 1.2.0.0 (1,76 ko) par Mark Ruzon
Create a larger array by expanding each element of an array into a subarray.
1,8K téléchargements
Mise à jour 8 déc. 2008

Afficher la licence

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.

Citation pour cette source

Mark Ruzon (2024). REPLICATE (https://www.mathworks.com/matlabcentral/fileexchange/22319-replicate), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Matrices and Arrays dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.2.0.0

Sped up 2D case using KRON. Thanks go to Jos.

1.1.0.0

Bug fix: renamed input parameter.

1.0.0.0