Curve fitting to experimental sets of data
Ältere Kommentare anzeigen
Dear all,
I have experimental data, where more sets of data of the same process were collected (Example figure can be seen: http://dl.dropbox.com/u/13911799/data.jpg )
Now I would like to fit curve (probably with splines) in Matlab, which would be optimized to all sets of data.
I know how to fit curve with “Matlab Curve Fitting Tool” to one data set, but I don’t know how to do it with more sets.
Can you please give me some guidelines how to solve problem.
Thank you in advance, Tomaz
Antworten (1)
Richard Willey
am 25 Feb. 2011
1 Stimme
1. Start by using the Curve Fitting Tool to fit one of your data sets.
2. Select "Generate Code" from the file menu. This will automatically create a MATLAB function that will replicate the precise analysis that you performed with cftool.
3. Test the MATLAB function on your original dataset and make sure that you're happy with the output.
4. Use a loop to apply your function to all of the additional data sets.
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!