I have a 600×600 matrix with integer values in each cell. What I want to do is expand that matrix into a 6,000×6,000 matrix. However, since it is being expanded to 10x its size, I need to scale the integer in each cell accordingly. So if I have the value 10 in row 1 column 1 of the 600×600 matrix, I now need the value 1 in rows 1-10 columns1-10. Does anyone have any ideas how to do this?
MATLAB: Divide and expand matrix
MATLABmatrixmatrix manipulation
Best Answer