If I am given a set of x and y data points and I have to find the best fit curve for those points polynomial) I know to use the polyfit function.
However, If I am now given an equation and need to find that equations coefficients how would I go about doing that?
The equation can be found below:
tg^-1 is tan^-1 which I know in Matlab is atan(x)
I need to find B, C, D, and E in the above equation given my set of data points.
Best Answer