Grace, this is the expression you have passed into glmfit:
{ @(y) 10^((log(-1og(1-y))-a)/b), ...
@(y) 10.^((log(-1og(1-y))-a)/b)/(b*(-1og(1-y)*(1-y))), ...
@(y) 1-exp(-exp(a+b*log10(y))) }
Since you haven't provided the errors you get, we can only guess as to
what's happening. But there are a number of problems with this.
* You've used the character "1" (the number one) when you want "l" (the
letter ell)
* You've used matrix operators such as *, ^, and / when you want
elementwise operators such as .*, .^, and ./
* Your link function is parameterized by a and b, which you have not
defined.
You probably also want to make use of the log1p function and replace all
those log(1-y)'s with log1p(-y).
Hope this helps.