Repeat last row at the end of matrix?

4 views (last 30 days)
Merle
Merle on 12 May 2014
Answered: Cedric on 12 May 2014
I want to repeat the last row of my 33x4 matrix. how can I do this? thanks

Accepted Answer

Cedric
Cedric on 12 May 2014
B = [A; A(end,:)] ;

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!