Write a scilab code to fit a straight line for the following data.
조회 수: 23 (최근 30일)
이전 댓글 표시
Data:
x 0 1 2 3 4
y 1 1.8 3.3 4.5 6.3
댓글 수: 1
Walter Roberson
2019년 1월 7일
scilab is a different commercial programming language . This is not an appropriate forum for questions about scilab.
답변 (2개)
Shubham Gupta
2019년 1월 7일
Use 'polyfit' to fit data to required polynomial degree.
take a look :
help polyfit
I hope this helps.
댓글 수: 0
Image Analyst
2019년 1월 7일
I'm sure you don't want us to do your homework for you, but I can offer you my demo of polyfit, attached.
댓글 수: 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!