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

16 ビュー (過去 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 Center および File ExchangePolynomials についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by