How to plot a best fit curve to my data points?
13 次查看(过去 30 天)
显示 更早的评论
Hi,
I have attached a data (inverted_qp.mat Inv_qpAVO freq;) and a plot between fre and Inv_qpAVO is shown below in red color.
circled points on left hand side are the issue and I want to a best-fit curves passes through these points just like shown on the right hand side figure (in blue color a solid line).
The best fit curve should start from the fist point to the end point as given a solid blue line. Thanks
7 个评论
John D'Errico
2022-6-3
编辑:John D'Errico
2022-6-3
@Nisar Ahmed Please stop using a new answer every time you want to make a comment.
Sam Chak
2022-6-3
@Image Analyst, thanks for the insights into the analysis of the data that provides a basis for understanding the curve fitting. 👍
回答(2 个)
Kevin Holly
2022-6-2
If you have the Curve Fitting Toolbox, you can use the Curve Fitting app after you import your data into the workspace. Within the app, there are many curve fits you could select from. Here is a video showing the process.
1 个评论
John D'Errico
2022-6-3
<Moved to a comment from @Nisar Ahmed
Nisar Ahmed
2022-6-3
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!