Hi,
I have a vector of size (1,60) and I want to convert it into a matrix of size (100,60), in wich every row is my initial vector. Can anyone tell me how to do it?
thanks.

 採用された回答

Oleg Komarov
Oleg Komarov 2012 年 5 月 27 日

1 投票

If A is your vector, then:
repmat(A,1,100)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by