How to get equation of polynomial from polyfit?
조회 수: 26 (최근 30일)
이전 댓글 표시
As the title says, I need to display the equation of a fitted line (not necessarily on the axes). I have the coefficients of the polynomial thanks to polyfit; is there a sophisticated way to construct an equation from those coefficients? Thanks.
댓글 수: 0
채택된 답변
Walter Roberson
2018년 4월 15일
댓글 수: 3
Walter Roberson
2018년 4월 15일
Yes, it would be a symbolic expression. You could disp() it, or pretty() it.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!