Info

This question is closed. Reopen it to edit or answer.

How to repeat a column several times?

3 views (last 30 days)
Mohit Kumar
Mohit Kumar on 7 Apr 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Consider this scenario -
a =[1;2.3;3.2;4.5;5.7];
b=[a,a,a,a,a];
Is there a better way to do this?
  5 Comments
DHRUVINKUMAR DARJI
DHRUVINKUMAR DARJI on 7 Apr 2020
Ameer Hamza, Oh sorry. You are right Ameer. Thanks for it.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!