Non linear curve

116 Views Asked by At

If there are set of points (16.26,1000) (8.814,2000) (6.06,3000) (4.602,4000) in a similar way if you plot these points in matlab you will get a nonlinear curve. After getting that curve, how to find equation for that given curve. Please send me the answer as soon as possible.

1

There are 1 best solutions below

0
On

Suppose you use this to make your plot:

x = [16.26 8.814 6.06 4.602];
y = [1000 2000 3000 4000];
plot(x,y);

The line that Matlab will plot has a very simple formula, it is just the line that uses piecewise linear interpolation to connects the dots.

If you want to find fitting solutions i recommend you to type help fit