MATLAB: Creating a 7×8 matrice in range of x and y

matrices

How can I create a 7×8 matrice in range of 5 and 26?

Best Answer

If you only want integers:
M = randi([5 26], 7, 8);