REPLICATE
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.
Zitieren als
Mark Ruzon (2024). REPLICATE (https://www.mathworks.com/matlabcentral/fileexchange/22319-replicate), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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 |