When I try to run this function on either the example data or my own data, I get the following set of errors:
"
Error using variogramfit>@(b)sum(((variofun(b,h)-gammaexp).^2).*weights(b,h))
Too many input arguments.
@ C Gutierrez: I think I haven't seen this error so far. Can you send me more information on how you have called variogramfit via the "contact author" interface?
Comment only
25 Sep 2012
variogramfit
fits different theoretical variograms to an experimental variogram
When I try to run this function on either the example data or my own data, I get the following set of errors:
"
Error using variogramfit>@(b)sum(((variofun(b,h)-gammaexp).^2).*weights(b,h))
Too many input arguments.
Error in fminsearchbnd>@(x,varargin)fun(xtransform(x),varargin{:}) (line 233)
intrafun = @(x, varargin) fun(xtransform(x), varargin{:});
Error in fminsearch (line 191)
fv(:,1) = funfcn(x,varargin{:});
Error in fminsearchbnd (line 264)
[xu,fval,exitflag,output] = fminsearch(intrafun,x0u,options,varargin);
Error in variogramfit (line 336)
[b,fval,exitflag,output] = fminsearchbnd(objectfun,b0,lb,ub,options);
"
Have you seen this before?
Comment only
13 Sep 2012
variogramfit
fits different theoretical variograms to an experimental variogram
@Vandita: I had requests for the inclusion of a hole-effect model earlier, but I currently don't have the time to implement it. However, it should be fairly easy to modify the function to include the hole-effect.
Comment only
04 Sep 2012
variogramfit
fits different theoretical variograms to an experimental variogram
I wish to fit a hole effect model to my data using this function. Is there anything existing or if I have to mmodify, what should I take care in addition to adding an equation for that in this code?
Comment only