fit_logistic(t,Q)

版本 1.9.0.0 (4.6 KB) 作者: James Conder
Fit a time series to a best-fitting logistic function.
3.4K 次下载
更新时间 2016/1/25

查看许可证

Fit time series Q(t) to a logistic function.
Inputs (vectors of same size): t (time) & Q
Outputs: Qpre (logistic model fit to data) and three independent parameters: thalf, Qinf, and a, describing the logistic
Q(t) = Qinf/(1 + exp(-a*(t-thalf)))
Qinf is value as t --> infinity
thalf is time of symmetric inflection point
a is time decay constant
Written by James Conder, Southern Illinois University, Oct. 2010
Cleaned up for publishing May 16, 2013

引用格式

James Conder (2024). fit_logistic(t,Q) (https://www.mathworks.com/matlabcentral/fileexchange/41781-fit_logistic-t-q), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.9.0.0

Added confidence limits for parameters.

1.8.0.0

1) condensed output of three individual parameters: thalf, Qinf, and alpha into one 3 element vector, p
2) fixed typo in comments

1.7.0.0

Added a check to avoid the flatlining (Qpre goes to the mean) that has occasionally occurred.

1.5.0.0

Fixed bug for reversing time when fitting a decreasing logistic.
Added an example in help comments.

1.4.0.0

accidentally included debugging code in last update. update is debugged AND cleaned version

1.3.0.0

Fixed instability for short or long time frames

1.2.0.0

Fixed signs of coefficients for decreasing logistic and added screenshot

1.1.0.0

Fixed signs of coefficients for decreasing logistic.

1.0.0.0