MATLAB Write a function that takes in a number and produces an array that represents the multiplication table for that number. A multiplication table is an NxN array where the first row and column of the array are the numbers from 0 to N, inclusive. The rest of the table is comprised of the products between that row number and that column number. For example, if the number is 4, the multiplication table would like this: [0, 1, 2, 3, 4; 1, 1, 2, 3, 4; 2, 2, 4, 6, 8; 3, 3, 6, 9, 12; 4, 4, 8, 12, 16] The first row and column are the ones that is the problem. How do i write this function? Solution First we need to generate the first row and column then generation of table can be done. The below is the code for table generation as per the requirement. N=input(\'Enter the integer value for table: \') A=zeros(N+1,N+1); for i=1:N+1 A(1,:)=0:N; A(:,1)=0:N; end for j=2:N+1 for k=2:N+1 A(j,k)=A(1,k)*A(j,1); end end A .