% Define the size of the multiplication tablen = 10;
% Initialize a matrix to store the multiplication tablemult_table = zeros(n);
% Generate the multiplication tablefori = 1:n
forj = 1:n
mult_table(i, j) = i * j;
endend% Display the multiplication tabledisp(mult_table);