Question: In each part below you will write two different MATLAB functions, poly 1 and poly 2 , to compute the nth - degree polynomial, a
In each part below you will write two different MATLAB functions, poly and poly to compute the nthdegree
polynomial,
dots
Indicate each line you type below with the line number given in the comments.
a The function poly below will take two inputs a row vector, a containing the coefficients in the same order as above,
and a scalar real number, which is the value at which the polynomial is to be evaluated. The function assumes
The output, will be the polynomial evaluated at Use only the variables defined below to compute the sum, and no loops
The only builtin function you can use one needed to compute the sum. Fill in the blanks.
function poly
length
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
