MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   通过Matlab中的数据点拟合指数曲线 (https://www.labfans.com/bbs/showthread.php?t=26689)

poster 2019-12-14 20:46

通过Matlab中的数据点拟合指数曲线
 
有指数衰减的数据可用,我想拟合一条曲线。如何在Matlab中做到这一点?



[B]回答:[/B]

尝试这个:

ft=fittype('exp1'); cf=fit(time,data,ft) 这是time和data成为您的数据向量的时候;时间是自变量,数据是因变量。

这将为您提供指数衰减曲线的系数。



[url=https://stackoverflow.com/questions/5393001]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:23

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.