MATLAB: Matlab y=a/x+b fitting sets b=y for x-> 0 instead of infinity

cftoolcurvefitfitting

I'm trying to fit my data to a y=a/x+b curve using the custom equation in cftool. However, it seems that in this format, it sets b equal to y for x going to zero (rather than infinity). Any tips?
(actual equation is y=a/x^1/3+b/x+c, used y=a/x+b in this question for simplicity)

Best Answer

No tips.
Your y is going to +Inf as x->0+ (that is x->0 from the positive direction) regardless. (It also goes to -Inf as x->0-.) You can’t escape either mathematical reality or gravity.
Nevertheless, congratulations for trying to!