So I have a bit of an issue. I have a matrix with coefficients on top and powers of x on bottom (e.g. var = [3 4, 2 1]; where the corresponding equation is f(x) = 3x^2 + 4x) The code is set up to allow the user to enter a matrix of any length with 2 rows. I need to integrate whatever function they input in this format. How do I make a function that will change depending on what they enter?
MATLAB: Quadratic modular equation
equationintegral
Best Answer