Info

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

I have 1 to 5 number how can I arrange some kind of loop like given below:

1 view (last 30 days)
1
2
3
4
5
1
2
3
4
5
  1 Comment
Stephen23
Stephen23 on 29 May 2016
Duplicate question:
@Sunil Oulkar: don't just keep repeating your questions: It does not make it easier for us to help you. You should make your original clearer if you did not get the answer you wanted.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 29 May 2016
repmat((1:5)',2,1)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!