MATLAB Answers


fitting one dimensional data to sum of gaussians....

Asked by Abhishek on 18 Jun 2013

Hello, I am using lsqcurvefit for fitting a sum of gaussians to a one dimensional data...It is not plotting the accurate fit...on the contrary when I use fit (e.x gauss8) it is very accurate and fast...but my ultimate aim is fitting 3D 8 gaussians wouldnt be enough

in lsqcurvefit I am defining sum of gaussians by the help of iteration... Can you help me out...I am stuck in this... Is there a modification to gauss8 in fit to use more than 8 gausians..

Thank you!


Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!