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

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.

댓글을 달려면 로그인하십시오.

답변 (1개)

카테고리

도움말 센터File Exchange에서 Polynomials에 대해 자세히 알아보기

질문:

2018년 12월 10일

편집:

2018년 12월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by