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

1 visualización (últimos 30 días)
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

Respuestas (1)

Alan Stevens
Alan Stevens el 23 de Abr. de 2021
help polyfit
help polyval

Categorías

Más información sobre Least Squares en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by