I need this Matlab code due to 12-11 please answer!!

Use polynomial fitting and graph up to 8th order polynomials Write a function that finds the roots and marks the roots as red circles on the graph.
f (x) = ax7 + bx6 + cx5 + dx4 + ex3 + fx2 + gx + h
Input variables should be up to 8 inputs and less input.
For example, if you call a function with four input variables a, b, c, and d
f (x) = ax3 + bx2 + cx + d
Graph the cubic polynomial, print the roots, and mark the graph with a red circle. Please submit the filename as polynroot.m.

1 comentario

Steven Lord
Steven Lord el 10 de Dic. de 2018
This sounds like a homework assignment. If you show us what you've tried to do to to solve this problem and ask a specific question about where you're having difficulty we may be able to offer some guidance.

Iniciar sesión para comentar.

Categorías

Más información sobre Polynomials en Centro de ayuda y File Exchange.

Preguntada:

el 10 de Dic. de 2018

Editada:

el 11 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by