I love function handles in matlab, I can do this for example:
f = @(x,a,b) a*(x.^b);
This is so useful! I want to be able to plot log(y)=1+log(x), I tried:
f = @(x) 1+log10(x);
It doesn't however give a straight line, so this syntax might be wrong! Please tell me how I can do it. Thanks.