Determine the polynomial interpolant for data (-1,1), (0,0), (1,1), (2,2) by using gauss solve. Plot data utilizing small circles and polynomial interpolalant on same figure and include you Mathlab code.
Write the function using mysolve.m which will take as input matrix and a column vector. If asume matrix is square solve the system of linear equations using inv(A) * b. If matrix is not the square solve matrix using the slash operator.