Use -> Basic fitting -> liner equation using code rather then the manual process

조회 수: 1 (최근 30일)
Saad Iftikhar
Saad Iftikhar 2021년 4월 23일
댓글: Saad Iftikhar 2021년 4월 23일
let's say i've got
x = [4,5,6,7,8]
y = [100,200,300,400,500]
liner extraploation
i want to add a line where i enter x = 9,10,11,12,13,14,15,16,17,18,19,20
the code auto generates my crosoponding y values

답변 (1개)

Alan Stevens
Alan Stevens 2021년 4월 23일
help polyfit
help polyval

카테고리

Help CenterFile Exchange에서 Least Squares에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by