So, I have this matlab problem, and I'm totally lost. Below, you will find my attempt. We are supposed to fit a polynomial curve to the data, but I'm a bit confused as to how the to get a polynomial to match the known relationship. I've got polyfit solving for the form of y = 1 / (ax + b), but I don't know where to go from there. Any help would be greatly appreciated.
x= 5:5:50;
y= [15 25 32 33 37 35 38 39 41 42];
p= polyfit(x,1 ./ y,1)
a= p(1);
b= p(2);xFit= 5:50;
yFit= xFit ./ (a * xFit + b)
semilogy(x,y,'o',xFit,yFit,'-');