简体   繁体   English

Excel - 获取连接三点的曲线方程

[英]Excel - Get equation for a curve connecting three points

I have three points (Year, growth) and I would like to find an equation connecting them in Excel:我有三点(年份,增长),我想在 Excel 中找到一个连接它们的方程式:

Point 1: (2016, 3033%)
Point 2: (2017, 397%)
Point 3: (2023, 20%)

Is there a way to do it on Excel.有没有办法在Excel上做到这一点。 I tried power 4 quadratic equation using Linest(Range1, Range2^{1,2,3,4}) but I have an area of growth below zero.我使用Linest(Range1, Range2^{1,2,3,4})尝试了幂 4 次方方程Linest(Range1, Range2^{1,2,3,4})但我的增长区域低于零。 Not a curve that drops sharply between 2016 and 2017 before stabilizing between 2017 and 2023. Growth cannot be negative on this case.不是曲线在 2016 年和 2017 年之间急剧下降,然后在 2017 年和 2023 年之间趋于稳定。在这种情况下,增长不能为负。 I would like to build equations so that if user change the growth in 2023 for example it will automatically modify the function and so 2018, 2019, 2020, 2021 and 2023 can be found.我想建立方程,以便如果用户更改 2023 年的增长,例如它会自动修改函数,因此可以找到 2018、2019、2020、2021 和 2023。 Anybody knows how to do on Excel please?请问有人知道怎么用excel吗? Thank you谢谢

You probably need to fit your table to an exponential function that has a negative coefficient for the variable of the exponent, ie y = A exp(-bx)您可能需要将您的表格拟合成指数函数,该指数函数对指数的变量具有负系数,即 y = A exp(-bx)

You can use the LINEST() function in excel to do that if you linearize the equation: lny = lnA + bx如果您将方程线性化,您可以在 excel 中使用 LINEST() 函数来执行此操作: lny = lnA + bx

A scatterplot with a linear trendline will also give you the coefficient.带有线性趋势线的散点图也会为您提供系数。 Take a look athttps://www.engineerexcel.com/nonlinear-curve-fitting-in-excel/看看https://www.engineerexcel.com/nonlinear-curve-fitting-in-excel/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM