How to fit symetrical shifted functions from bvp4c with anonymous functions ?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!