REPLICATE
版本 1.2.0.0 (1.8 KB) 作者:
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.
引用格式
Mark Ruzon (2024). REPLICATE (https://www.mathworks.com/matlabcentral/fileexchange/22319-replicate), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Matrices and Arrays 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!