Richard's Curve and Derivative Probability Plot

Creates probability plot of the Richard's Curve and derivative given the minimum & maximum values of its 95% confidence interval parameters
51 Downloads
Updated 21 Jun 2020

View License

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.

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Custom Colormap

Community Treasure Hunt

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

Start Hunting!

95_ConfInt_RichardsCurve/customcolormap

Version Published Release Notes
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.
Code now produces two figures: frequency (previously misinterpreted) and normalised frequency.

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