フィルターのクリア

Going from 1 x n to n x n matrix

14 ビュー (過去 30 日間)
Gibliano
Gibliano 2012 年 7 月 25 日
How doe I convert a matrix with 100 elements in a 1x100 matrix to a 100x100 matrix. Each row in the 1xn matrix will have the same values in rows 2, 3, 4, 5 etc to 100

採用された回答

Oleg Komarov
Oleg Komarov 2012 年 7 月 25 日
repmat(A,100,1)
where A is your vector.

その他の回答 (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