I have a matrix like this
1 2 3 4
2 3 4 5
3 4 5 6
is there any function that makes rows n times and columns m times in matlab i mean for example for n=2 and m=3 the result be:
1 1 1 2 2 2 3 3 3 4 4 4
1 1 1 2 2 2 3 3 3 4 4 4
2 2 2 3 3 3 4 4 4 5 5 5
2 2 2 3 3 3 4 4 4 5 5 5
3 3 3 4 4 4 5 5 5 6 6 6
3 3 3 4 4 4 5 5 5 6 6 6
thanks