Matlab

Write a function that takes 2, 3 by 3 matrices as arguments. The function should return two arguments. The first is a 3 by 3 matrix that is the second matrix subtracted from the first. The second should be scalar containing the Determinant of the returned matrix. Your function should also check for appropriate inputs and print an error statement if an input is incorrect