linear fit in plot

10 ビュー (過去 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!
Adam Danz
Adam Danz 2020 年 11 月 28 日

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by