Question: 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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!