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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Alan Stevens
Alan Stevens il 23 Apr 2021
help polyfit
help polyval

Community Treasure Hunt

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

Start Hunting!

Translated by