These routines create probability plots of the Richard's Curve and its derivative when given the minimum and maximum values of its 95% confidence interval parameters.
It assumes that the growth is contained within a calendar year and that the units of time are given in “decimal years”.
The code can be amended if the time units are different (see code for line number) but be aware that the scaling of the x-axis and the tick marks labels for the resulting figure still assume that the calculations were done in decimal years so those will need to be changed as well.
The first part of the routine introduces Richard's Curve, defines its parameters, prompts the user to input their values, and calculates a family of curves using the user input.
The second part of the routine will generate a matrix with a frequency analysis of of the matrix generated in the first part. It counts how many times does the value of the regression falls between two values at a given time of the year.
The third part of the routine plots the results. It uses the "Custom Colormap" routine by Martinez-Cagigal (2020) to create a colourblind-friendly colour map for the figure
References:
Víctor Martínez-Cagigal (2020). Custom Colormap (https://www.mathworks.com/matlabcentral/fileexchange/69470-custom-colormap), MATLAB Central File Exchange. Retrieved June 19, 2020.
引用格式
Juan Estrella-Martínez (2024). Richard's Curve and Derivative Probability Plot (https://www.mathworks.com/matlabcentral/fileexchange/77104-richard-s-curve-and-derivative-probability-plot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
致谢
参考作品: Custom Colormap
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!95_ConfInt_RichardsCurve
95_ConfInt_RichardsCurve/customcolormap
95_ConfInt_RichardsCurve/customcolormap
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.2 | Fixed bug that calculated a lower number of family of curves. As a result, less iterations are needed to obtain a nice figure.
|
||
1.0.1 | 2020-06-19 6:40pm: A bug was found in the calculation of the family of curves. Working on a solution. |
||
1.0.0 |