Curve family fitting question
3 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I want to ask how could I do this kind of curve fitting in matlab? as you can see in the figure, there are a curving family. the difference between curves in this family is caused by a paramter "R"( shown in the legend) which i use in the simulation. if it is possible that I use the (x,y) of these three curves and their corresponding parameter "R"(1000,1200,1400 respectively) to fit the relationship between "R" and (x,y)? (here I do not need the relationship between x and y, but I want to fit the relationship between "R" and "(X,Y)".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339163/image.jpeg)
2 个评论
John D'Errico
2020-7-30
编辑:John D'Errico
2020-7-30
In order to do curve fitting, you need to have a model, or you need to use some generic, non-parametric model. You have shown no hint that you have any idea of a model.
The non-parametric models I mention might be of the form of splines, polynomials, Fourier series, etc. However, none of them would have any remote chance of fitting the curves you show. Sorry. Essentially, this is not the kind of problem you can easily solve with curve fitting. At most, you can use interpolation to try to "fit" those curves. But any interpolation method will not then have coefficients you could then happily model as a function of another parameter.
回答(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!