Poly
Poly
POLYNOMIALS
LECTURE OVERVIEW
>> a = [9,-5,3,7];
>> b = [6,-1,2];
>> product = conv(a,b)
product =
54 -39 41 29 -1 14
>>[quotient, remainder] = deconv(a,b)
quotient =
1.5 -0.5833
remainder =
0 0 -0.5833 8.1667
POLYNOMIAL ROOTS
>>a = [9,-5,3,7];
>>x = [-2:0.01:5];
>>f = polyval(a,x);
>>plot(x,f),
xlabel(’x’),
ylabel(’f(x)’)