How to fit symetrical shifted functions from bvp4c with anonymous functions ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi First, if you understood my question, congratulations as I'm not sure I understand it myself...
Here is the problem. I've got 1D profiles which look like gaussian I need to fit with output of bvp4c. Problem is that my profiles are almost symetrical but shifted along the x coordinate and that bvp4c only accept x = [0 ...].
I wanted to use kind of "multi-lines anonymous functions" and nlinfit to first fit the profile and then find the shift as a coefficient, but it seems you can't do multi-lines in anonymous functions...
Any idea?
Thanks a lot again if you can understand my problem and then fix it :-)
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!