Home  >  Article  >  Topics  >  How to fit curve equation in excel

How to fit curve equation in excel

尚
Original
2019-07-10 15:49:5834611browse

How to fit curve equation in excel

When doing social research or scientific experiments, it is often necessary to fit the experimental data obtained into a curve graph, so that the results can be easily understood. The following will introduce how to use excel to quickly perform curve fitting. Including adding smooth curves, linear, exponential, power, polynomial (such as quadratic curve, cubic curve...), logarithmic fitting.

Input the experimental data into excel. It is best to make two vertical rows of the two variables. Select all the data and be careful not to select the text as well.

How to fit curve equation in excel

Click "Insert" in the menu bar, and then select the drop-down menu under "Scatter Plot".

How to fit curve equation in excel

Smooth curve:

Select the type you need from the menu. Generally, choose a scatter plot with both data points and smooth curves. You can get a smooth curve.

How to fit curve equation in excel

How to fit curve equation in excel

Polynomial fitting (linear, exponential, power, logarithmic are similar):

Select data;

Insert, scatter plot;

Select the type with only data points;

You will get the data points shown in the second picture.

How to fit curve equation in excel

How to fit curve equation in excel

Click a point and all data points will be selected, then right-click and select "Add Trend Line" in the pop-up menu

How to fit curve equation in excel

Here you can choose the type of curve you need to sum, such as linear, exponential, power, logarithmic, polynomial. . Select a polynomial.

Then tick the checkboxes of "Show formula" and "Show R squared" below to get the required curve, formula, and relative error.

How to fit curve equation in excel

For more Excel-related technical articles, please visit the Excel Basic Tutorial column to learn!

The above is the detailed content of How to fit curve equation in excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn