function value for a gaussian fit
1 view (last 30 days)
Show older comments
I was wondering where does the function value go when fitting a gaussian line. I have a graph and it gives me the equation for that line as well as the coefficient terms (a1, b1, c1, etc.), but it does not give me the overall function value. I have to manually plug in all of the coefficients to find the value. Is there a better way to find this value without having to calculate it by hand (for a gaussian fit)? I appreciate any help.
1 Comment
Image Analyst
on 3 Feb 2018
Help us help you by attaching your data, code, and a screenshot of you plotted data. http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer Are you fitting a histogram, or just random points that look roughly like a normal shape when plotted? Do you have the Statistics and Machine Learning toolbox to take advantage of the functions in there?
Answers (0)
See Also
Categories
Find more on Fit Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!