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

20 vues (au cours des 30 derniers jours)
Kavita
Kavita le 6 Jan 2019
Rouvert : Walter Roberson le 7 Jan 2019
Data:
x 0 1 2 3 4
y 1 1.8 3.3 4.5 6.3
  1 commentaire
Walter Roberson
Walter Roberson le 7 Jan 2019
scilab is a different commercial programming language . This is not an appropriate forum for questions about scilab.

Connectez-vous pour commenter.

Réponses (2)

Shubham Gupta
Shubham Gupta le 7 Jan 2019
Use 'polyfit' to fit data to required polynomial degree.
take a look :
help polyfit
I hope this helps.

Image Analyst
Image Analyst le 7 Jan 2019
I'm sure you don't want us to do your homework for you, but I can offer you my demo of polyfit, attached.

Catégories

En savoir plus sur Polynomials dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by