Tangwx

Tangwx

博客网站

Cleverly Using Excel to Generate Fitting Functions

Cleverly Using Excel to Generate Fitting Functions#

Methods for fitting a line in Excel:

  1. Enter the data in the spreadsheet, with X values in the left column and Y values in the right column. Then, select the data range.

image-20230326184338376

  1. In the toolbar, select "Insert" - "Chart". Choose the scatter plot with straight lines and data markers, and a line graph will appear.

image-20230326184502107

  1. Right-click on the line and select "Add Trendline" from the options.

  1. In the small window that pops up on the right, select "Linear". Drag the progress bar down and choose "Display Equation" - "Display R-squared value" to show the fitted equation.

image-20230326184707584

image-20230326184747398

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.