Least square curve fit for function: y = a*x^b*(1-x)^c
Mostrar comentarios más antiguos
For function like y = a*x^b*(1-x)^c, how can I use the least square curve fit feature to find out the coefficient a, b and c?
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 1 de Mayo de 2015
0 votos
Try taking the log of y and then using polyfit. See attached demo.
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!