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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by