optimisation and curve fitting possibly by lsqcurvefit
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
Does anybody know how I could solve this equation using lsqcurvefit or any other way in Matlab to optimise c(1) to c(5) and to minimise the error? The values of xdata, ydata, a, and b are known. I think 'y' should be on the other side of the equal sign in order to be able to use lsqcurvefit which makes it difficult to use lsqcuvefit in this problem as it is impossible to transfer 'y' to the other side of the equal sign!
Error=sum(((ycos(c1)-xsin(c1))-((a^c2+ b^c3)^c4)*b+a*c(5))^2+((ysin(c1)+xcos(c1))-((a^c2+ b^c3)^c4)*b+a*c(5))^2)
Many thanks,
Kourosh
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!