mat = zeros(20, 24); % declaring a 20*24 matrix with all zeroes
% using nested for loop to fill the matrix using the given formula
for rowIndex = 1:20
for columnIndex = 1:24
mat(rowIndex, columnIndex) = rowIndex*2 - columnIndex*0.7;
end
end
% displaying the matrix
disp(mat);

The output is big so I am giving you just a look at it.
FOR HELP PLEASE COMMENT.
THANK YOU.
Create a new 20 x 24 matrix using Matlab, I, that will contain the following for...