필터 지우기
필터 지우기

symbolic sum of gaussian functions

조회 수: 2 (최근 30일)
Lorenzo Mattera
Lorenzo Mattera 2020년 4월 22일
Hello
I have some data which can be represented as the sum of several (>8) gaussian functions.
Positions and widths are fixed and I would like to fit the data and determine only the amplitudes.
I could write a custom fitting function but the gaussians are of the order of 30 ( the actual number can change for different data set) and the procedute would be awful.
Any whay to construct such sum symbolically obtaining someting like
a[1]*exp(-((x-b[1])/c[1])^2)+....a[m]*exp(-((x-b[m])/c[m])^2)
where a[i] are the parameters to fit and b[i] and c[i] are known?
Thanks
Renzo

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by