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
Steven Lord
2018년 12월 10일
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개)
madhan ravi
2018년 12월 10일
doc roots
doc coeffs
doc syms
카테고리
도움말 센터 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!