how to plot a polynomial?

1 view (last 30 days)
Andrew Vu
Andrew Vu on 27 May 2020
Answered: James Tursa on 27 May 2020
Does anyone know how to plot this polynomial?
p(z) = z^9 + z^8 − z^7 + z^6 − z^5 + z + 1 for z real and −1 ≤ z ≤ 1
then, find and plot the roots of p(z) in the complex plane.
• Label the axes.
Please help, thank you!

Answers (1)

James Tursa
James Tursa on 27 May 2020
doc polyval
doc colon
doc plots
doc roots

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!