linear fit in plot

5 次查看(过去 30 天)
zakary Surprenant
zakary Surprenant 2020-11-26
评论: Adam Danz 2020-11-28
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!

采纳的回答

Image Analyst
Image Analyst 2020-11-26
Add this:
hold on;
plot(x, curve, 'b-', 'LineWidth', 3);
  4 个评论
zakary Surprenant
zakary Surprenant 2020-11-26
Yah i added a hold off at the end and it work now, Thanks for your help!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by