### Power Law Curve Fits in MATLAB

(See this Wikipedia article for a quick review of Power law fits.) So linear curve fits are easy in MATLAB — just use p=polyfit(x,y,1), and p(1) will be the slope and p(2) will be the intercept. Power law fits are nearly as easy. Recall that any data conforming to a linear fit will fall along […]