need help using polyval and finding roots

23 visualizaciones (últimos 30 días)
Chris
Chris el 17 de Nov. de 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

Respuestas (0)

Categorías

Más información sobre Polynomials en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by