Fit a sigmoid function to data

8 views (last 30 days)
Alexandra Tzilivaki
Alexandra Tzilivaki on 19 Apr 2016
Commented: John D'Errico on 19 Apr 2016
Hello everyone! Please i need your feedback! I would like to fit a sigmoid function to my data and calculate the best coefficients for that equation. How can i write it?
Many thanks in advance!
  1 Comment
John D'Errico
John D'Errico on 19 Apr 2016
Use the curvefitting toolbox. Or the optimization toolbox. Or the stats toolbox. Take your pick. Or you can use fminsearch, or one of MANY tools on the file exchange.
There are MANY examples in those toolboxes of how to do a curve fit. (especially the curvefitting toolbox.) READ THE EXAMPLES.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!