Hello MathWorks community.
I'm trying to concatenate an array of my own "n" times. The thing is that each time each time I concatenate the array, I want to multiply it by 1, 10, 20...
For example, lets say my initial array is [0,1,2,3,4]. And that n =3. Then the output should look like:
out = [0,1,2,3,4,0,10,20,30,40,0,20,40,60,80]
I was wondering if I could use the repmat fucntion in some way to get this don, or is this function only useful for concatanating the exact same array?
Thank's for the help!