Changeset 115
 Timestamp:
 Oct 15, 2010, 3:02:30 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/griddata_uvmat.m
r19 r115 2 2 %adapt the input of the matlab function griddata to the appropriate version of Matlab 3 3 function ZI = griddata_uvmat(X,Y,Z,XI,YI) 4 whos X Y Z XI YI 4 5 txt=ver; 5 6 Release=txt(1).Release; 6 relnumb=str2num(Release(3:4)); 7 if relnumb >= 14 7 relnumb=str2num(Release(3:4)) 8 if relnumb >= 20 9 ZI=griddata(double(X),double(Y),double(Z),double(XI),double(YI),'linear',{'QJ'}); 10 elseif relnumb >=14 8 11 ZI=griddata(X,Y,Z,XI,YI,'linear',{'QJ'}); 9 else 12 else 10 13 ZI=griddata(X,Y,Z,XI,YI,'linear'); 11 14 end
Note: See TracChangeset
for help on using the changeset viewer.