Matlab Best Fit Line – Slope Equation For Plot Of Best Fit Line

So in Pressure Experiments.mat, there is (6,32) data set. I need the whole 5th row and the 6th row of this data.So I made a scatter plot of this data with :

If you want statistics on the fit, and you have the Statistics and Machine Learning Toolbox, use the regress or fitlm functions.

*

https://www.answerclassic.com/matlabcentral/answers/518496-how-do-i-plot-the-line-of-best-fit#comment_829334

https://www.answerclassic.com/matlabcentral/answers/518496-how-do-i-plot-the-line-of-best-fit#comment_829338

https://www.answerclassic.com/matlabcentral/answers/518496-how-do-i-plot-the-line-of-best-fit#comment_829340

https://www.answerclassic.com/matlabcentral/answers/518496-how-do-i-plot-the-line-of-best-fit#comment_829361

I got one more question, how would i find the value of the number of hyrdrocarbons ecaping when the petrol pressure is ten? So How do i find B when A = 10 using the best fit line?

https://www.answerclassic.com/matlabcentral/answers/518496-how-do-i-plot-the-line-of-best-fit#comment_829365

The easiest way (assuming that the relation holds beyond the region-of-fit, not always a reliable assumption):
In general, it is not advisable to extrapolate that far beyond the region of it, unless (on the basis of other knowledge) you can be reasonably certain that the linear (or any other) relaionship is generally valid. With a mathematical model of this relationship, it would be possible to use linear or nonlinear parameter estimation techniques to devise a relation that would ber more generally applicable.
AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Exploration and Visualization

Community Treasure Hunt

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

Start Hunting!
An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Đang xem: Matlab best fit line

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Xem thêm:

Select web site

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other answerclassic.com country sites are not optimized for visits from your location.

Xem thêm: Best Way To Deal With Self Righteous People Profile: The Self Righteous

answerclassic.com

Accelerating the pace of engineering and science

answerclassic.com is the leading developer of mathematical computing software for engineers and scientists.

See more articles in category: Best

Leave a Reply

Your email address will not be published. Required fields are marked *