MATLAB Fit Experimental Data with MATLAB: Best Practices

AI Thread Summary
To fit experimental data with a theoretical model using MATLAB, it is essential to clarify the specifics of the theoretical model and the type of data involved. A suggested approach is to run the model with input parameters that correspond to those used in the experiments, allowing for the generation of model outputs that can be compared to the experimental data. If least squares curve fitting has been attempted but the fit parameters vary with input, it indicates a need for a more tailored fitting method. The discussion emphasizes that the choice of fitting procedure is context-dependent, and further details about the problem are necessary for effective guidance. Resources for fitting methods are available, including a referenced paper that outlines various procedures.
sounouhid
Messages
20
Reaction score
2
Hello everyone
help please
I need to fit experimental data with a theoretical model using the MATLAB software what is the best way to do it?
thx for advance
 
Physics news on Phys.org
Why not try plotting the experimental data vs the theoretical data to see where they differ?
 
thank you
but i don't have the the theoretical data .i just have the model ,I'm looking for the fit parameters
 
Can't you run the model with input parameters matching the ones recorded when you did the experiment and then plot the relevant model output?
 
yes i did it using the least squares curve fit ,but the fit parameters are not constant they are function of the input.
 
@ sounouhid : One cannot answer to your question without a clear description of your problem. What kind of "theoretical model" are you talking about ? What kind of data ? And more details on the context of the problem are essential. The fitting methods are numerous and depends on the context. A whole book should not large enough to answer if the problem is not restricted. For example, some procedures of fitting to several models are available in : https://fr.scribd.com/doc/14674814/Regressions-et-equations-integrales .(paper in French with some parts in English. All procedures are understandable in English)
 
  • Like
Likes sounouhid

Similar threads

Back
Top