Curve fitting to experimental sets of data
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Richard Willey
2011-2-25
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!