REPLICATE

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 (2026). REPLICATE (https://jp.mathworks.com/matlabcentral/fileexchange/22319-replicate), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Revising sunspot numbers since the times of Galileo, EXPAND

カテゴリ

Help Center および MATLAB AnswersMatrices and Arrays についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
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