linear fit in plot
5 次查看(过去 30 天)
显示 更早的评论
I can't get to add a linear fit line,
This is my code ma and me can be ignored it is for the other plots,

and this the graph i get, i just need to have a linear fit added into it!

0 个评论
采纳的回答
Image Analyst
2020-11-26
Add this:
hold on;
plot(x, curve, 'b-', 'LineWidth', 3);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!