need help using polyval and finding roots
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Polynomials finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!