Changeset 18382
- Timestamp:
- 08/13/14 13:47:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/contrib/gslib/gslib.m ¶
r17677 r18382 1 function [B E] = gslib(x,y,data,xmin,ymin,nx,ny,deltax,deltay )1 function [B E] = gslib(x,y,data,xmin,ymin,nx,ny,deltax,deltay,varargin) 2 2 %GSLIB - use gslib for Kriging 3 3 % … … 5 5 % output = gslib(x,y,data,varargin) 6 6 7 %process options 8 options = pairoptions(varargin{:}); 9 7 10 %Variogram 8 nugget= 10;9 sill = 164;10 range = 25763;11 nugget= getfieldvalue(options,'nugget',10); 12 sill = getfieldvalue(options,'sill',164); 13 range = getfieldvalue(options,'range',25763); 11 14 12 15 %Kriging options 13 mindata = 1;14 maxdata = 50;15 maxsearchradius = 50000;16 mindata = getfieldvalue(options,'mindata',1); 17 maxdata = getfieldvalue(options,'maxdata',50); 18 maxsearchradius = getfieldvalue(options,'searchrange',50000); 16 19 17 20 %Some intermediaries (Convert to gslib's parameters);
Note:
See TracChangeset
for help on using the changeset viewer.