how to curve fiting
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I enter data into a script to do curve fitting?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/462245/image.png)
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2020년 12월 16일
There is no description about the question. So I considered it as a sample example
x=(1:20)'; % Example Make column data
y=log(x);
fit_data=fit(x,y,'poly2')
plot(fit_data,x,y);
More details, please see fit
댓글 수: 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!