Fit Experimental Data with MATLAB: Best Practices

In summary, the conversation revolves around fitting experimental data with a theoretical model using MATLAB software. The suggestion is to plot the experimental data against the theoretical data to identify any discrepancies. However, the person does not have the theoretical data and is looking for ways to determine the fit parameters. A recommendation is made to run the model with input parameters matching the recorded data and use the least squares curve fit method, but the fit parameters are not constant. The person asking for help is urged to provide more details on the problem for a more accurate solution.
  • #1
sounouhid
22
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
  • #2
Why not try plotting the experimental data vs the theoretical data to see where they differ?
 
  • #3
thank you
but i don't have the the theoretical data .i just have the model ,I'm looking for the fit parameters
 
  • #4
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?
 
  • #5
yes i did it using the least squares curve fit ,but the fit parameters are not constant they are function of the input.
 
  • #6
@ 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

Replies
12
Views
4K
Replies
2
Views
3K
Replies
2
Views
1K
Replies
5
Views
1K
Replies
1
Views
1K
Replies
5
Views
2K
Replies
5
Views
2K
Back
Top