need help using polyval and finding roots

19 views (last 30 days)
Chris
Chris on 17 Nov 2013
p is the value that was entered for the input, I have to make p into a row vector with at most 7 terms.
First I have to assume p contains the coefficients of a polynomial and plot the polynomial using 1000 points in the domain [-5,5], Then I need to determine the roots of the polynomial and mark it on my plot if inside the domain. I'm stuck at getting p into a row vector with a number of terms in it, in the latter part i know im supposed to use polyval but I cant even get the vector

Answers (0)

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!