Repeat rows of matlab

12 ビュー (過去 30 日間)
Cside
Cside 2019 年 9 月 5 日
コメント済み: Cside 2019 年 9 月 5 日
I have a 1 x 10 matrix and would like to duplicate the same row (and same data) to a 10x 10 matrix. How may I do this?

採用された回答

madhan ravi
madhan ravi 2019 年 9 月 5 日
repmat(matrix,10,1)
  1 件のコメント
Cside
Cside 2019 年 9 月 5 日
thanks madhan :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by