Repeat last row at the end of matrix?

I want to repeat the last row of my 33x4 matrix. how can I do this? thanks

 採用された回答

Cedric
Cedric 2014 年 5 月 12 日

2 投票

B = [A; A(end,:)] ;

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrices and Arrays についてさらに検索

質問済み:

2014 年 5 月 12 日

回答済み:

2014 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by