Least squares equation fit help
Afficher commentaires plus anciens
Hi I'm trying to find the solutions (a,b,c,d) to the following equation:
y=a+b(x)+c(ln(x-d))
where x and y are known vectors.
I have been trying to use the curve fitting toolbox and writing it as a custom equation but keep getting the following error: "Complex value computed by model function, fitting cannot continue."
Any help would be great, I have a fair bit of Matlab experience but am new to the curve fitting toolbox.
Tim
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Interpolation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!