poltting a linear relatioship

3 ビュー (過去 30 日間)
ahmad Saad
ahmad Saad 2025 年 1 月 5 日
回答済み: Image Analyst 2025 年 1 月 5 日
How i can plot such figure ???

回答 (1 件)

Image Analyst
Image Analyst 2025 年 1 月 5 日
You can use polyfit to fit your data to a line, then use plot to plot the fitted line and the original data. Attached are examples.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by