source: trunk/src/griddata_uvmat.m @ 136

Last change on this file since 136 was 116, checked in by sommeria, 14 years ago

geometry_calib is now updated when a new image is viewed by uvmat
imadoc2struct corrected for time reading

File size: 514 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 >= 20
8    ZI=griddata(double(X),double(Y),double(Z),double(XI),double(YI),'linear',{'QJ'});
9elseif relnumb >=14
10    ZI=griddata(X,Y,Z,XI,YI,'linear',{'QJ'});
11else   
12    ZI=griddata(X,Y,Z,XI,YI,'linear');
13end
14
Note: See TracBrowser for help on using the repository browser.