Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Function Name: polynomialFactors Inputs: 1. (1 xN double) A vector 2. (1N double) A vector 3. (13 double) A vector Outputs: 1. (1N double) A
Function Name: polynomialFactors Inputs: 1. (1 xN double) A vector 2. (1N double) A vector 3. (13 double) A vector Outputs: 1. (1N double) A vector Description: - Write a function called polynomialFactors that takes in two vectors, containing the coordinates on a plane, and a vector of coefficients containing the coefficients a,b and c (third input). The first input are the x coordinates, and the second are the y coordinates. The function should then calculate the corresponding values of a surface defined by f(x,y)=ax2+bxy+cy. Examples: ans1 = polynomialfactors ([23.54],[0.50.081],[111]) >> ans1 = [5.707112.812821.0000] ans2 = polynomialfactors ([5.12.349.32],[9732],[420]) >> ans2 = [12.240053.360088.0000308.760020.0000]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started