source: trunk/src/private/griddata_uvmat.m @ 7

Last change on this file since 7 was 7, checked in by gostiaux, 11 years ago

private folder created and moved griddata_uvmat.m in it

File size: 402 bytes
Line 
1%'griddata_uvmat': function griddata_uvmat(vec2_X,vec2_Y,vec2_U,vec_X,vec_Y,'linear')
2%adapt the input of the matlab function griddata to the appropriate version of Matlab
3function ZI = griddata_uvmat(X,Y,Z,XI,YI)
4txt=ver;
5Release=txt(1).Release;
6relnumb=str2num(Release(3:4));
7if relnumb >= 14
8    ZI=griddata(X,Y,Z,XI,YI,'linear',{'QJ'});
9else
10    ZI=griddata(X,Y,Z,XI,YI,'linear');
11end
12
Note: See TracBrowser for help on using the repository browser.