Fit Logistic Curve to a Data Set

This is a Matlab GUI, that will try to fit a logistic function to a given set of data.

You are now following this Submission

The method used in this work is based on a tutorial by David Arnold.

http://online.redwoods.cc.ca.us/instruct/darnold/diffeq/logistic/logistic.pdf

RUN The Logistic.m this will bring up the GUI.

1. Give the x values on a text file in column format
2. Give the y values on a text file in col format
3. 'Plot Initial' Button will plot the distribution
4. 'Find Fit' button will find the best fit
5. 'Reset' will remove the plot (Although I wanted to clean all the fields - did not have time)
5. K, G, Dm are the values in the following equation

y = K./(1+exp(-G*(x-Dm)));

6. SSE gives the sum of squred error between the fitted function and the actual data
7. CC give the correlation co-efficient between the fitted function and actual data

Cite As

Varuna De Silva (2026). Fit Logistic Curve to a Data Set (https://uk.mathworks.com/matlabcentral/fileexchange/31399-fit-logistic-curve-to-a-data-set), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Bug fixes in parameter estimation process. Thanks to Prof. Sean Crosson for directing me to those errors.

1.0.0.0