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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

Alan Stevens
Alan Stevens am 23 Apr. 2021
help polyfit
help polyval

Kategorien

Mehr zu Least Squares finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by