Hi
How can I create a vector of number from 1:10:100, such that every 10 numbers are the same like this:
x=[1 1 1 1 1 1 1 1 1 1 1 10 10 10 10 10 10 10 10 10 10 20 20 20 20 20 20 20 20 20 20 20 ... 100 100 100 100 100 100 100 100 100 100];
What is the best efficient way of doing this?
Thanks
How can I create a vector of number from 1:10:100, such that every 10 numbers are the same like this:
x=[1 1 1 1 1 1 1 1 1 1 1 10 10 10 10 10 10 10 10 10 10 20 20 20 20 20 20 20 20 20 20 20 ... 100 100 100 100 100 100 100 100 100 100];
What is the best efficient way of doing this?
Thanks