Please solve this in BOTH Matlab and Excel step by step! Thanks!
Suppose it is known that the graph of the function
y = ax^3 + bx^2 + cx + d
passes through four given points (x, y) = (1, 4), (2, 33), (3, 0), and (4, 245). Write a user-defined function that accepts these four points as input and computes the coefficients a, b, c, and d. The function should solve four linear equations in terms of the four unknowns a, b, c, and d. Test your function for the case (1, 4), (2, 33), (3, 0), and (4, 245) whose answer is a = 1, b = -5, c = -49, and d = 245. Graph the function using a domain of -10 < x < 10.