im trying to generate a specific type o matrix in Matlab.
I need to modify it for specific types of data with the following rules
-First I have to choose a gra