I am trying to do a global fit, my anonymous function starting in this way:
fun=@(Parameters)data_array{:}(:,2)-1./(1+...
(My data are in the second column of each member of an array).
But it not work. It produced the error: Bad cell reference operation.