MATLAB: Large special matrix

matrix array

Hello I need a way to create a 4,030,464 element matrix that is 4096 x 984 elements and numbered 1 to 4030464. I cannot think of an easy way to create this besides a brute force method. Any ideas?
Thank you

Best Answer

Use this example:
reshape(1:10,5,2)