Write a scilab code to fit a straight line for the following data.

조회 수: 23 (최근 30일)
Kavita
Kavita 2019년 1월 6일
다시 열림: Walter Roberson 2019년 1월 7일
Data:
x 0 1 2 3 4
y 1 1.8 3.3 4.5 6.3
  댓글 수: 1
Walter Roberson
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
Shubham Gupta 2019년 1월 7일
Use 'polyfit' to fit data to required polynomial degree.
take a look :
help polyfit
I hope this helps.

Image Analyst
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.

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by