Express the following polynomials as row vectors of coefficients: 2x3 - 3x2 + x + 5 3x4 + x2 + 2x – 4
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:14| Question number:13.14
All Answers
total answers (1)
>> poly1 = [2 -3 1 5];
>> poly2sym(poly1)
ans =
2*x^3 - 3*x^2 + x + 5
>> poly2 = [3 0 1 2 -4];
>> poly2sym(poly2)
ans =
3*x^4 + x^2 + 2*x - 4
need an explanation for this answer? contact us directly to get an explanation for this answer