curve fitting in MATLAB by using curve fitting tool
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
2NOR_Kh
el 10 de Oct. de 2022
Comentada: Walter Roberson
el 11 de Oct. de 2022
I have a data that should fit a gaussian into it and then finding the center frequency and sigma, I use curve fitting tool in the matlab for this goal. Now in the curve fitting tool there is an option "center and scale", highlighted in yellow in the image below. If I chose this option the results will bedifferent than not chosong this option. I dont know what is this "center and scale" and which one the results are the ones I want.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1151553/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1151558/image.png)
0 comentarios
Respuesta aceptada
Matt J
el 10 de Oct. de 2022
Editada: Matt J
el 10 de Oct. de 2022
The centering/scaling means the xdata,ydata will be pre-normalized before any fitting is done. The doc is not specific about what the normalization is, but likely it is something like
xdata=(xdata-mean(xdata))/std(xdata)
ydata=(ydata-mean(ydata))/std(ydata)
As for which one you want, you want the one that gives the better fit. Look at the results and take the one that is better.
3 comentarios
Matt J
el 11 de Oct. de 2022
Thank you so much,
You are quite welcome, but please Accept-click the answer to indicate that your question has been addressed.
I should fit Burr distiribution to another data but matlab curve fitting does not have this distribution, in this curver fitting tool do you know that I can add a distribution or not?
You can define custom curve models:
When you do, however, it is usually important to supply a good initial guess of the parameters.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!