Ignore:
Timestamp:
May 17, 2012, 11:33:21 PM (9 years ago)
Author:
sommeria
Message:

merge_proj corrected to project simulataneously velocity, vort, div...
Time reintroduced correctly
bug corrections for objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/griddata_uvmat.m

    r399 r427  
    33function ZI = griddata_uvmat(X,Y,Z,XI,YI)
    44% if ~exist('rho','var')|| isequal(rho,0)
    5     txt=ver('MATLAB');
    6     Release=txt.Release;
    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
    11         ZI=griddata(X,Y,Z,XI,YI,'linear',{'QJ'});
    12     else
    13         ZI=griddata(X,Y,Z,XI,YI,'linear');
    14     end
     5ZI=griddata(X,Y,Z,XI,YI,'linear');
     6%     txt=ver('MATLAB');
     7%     Release=txt.Release;
     8%     relnumb=str2num(Release(3:4));
     9%     if relnumb >= 20
     10%         ZI=griddata(double(X),double(Y),double(Z),double(XI),double(YI),'linear',{'QJ'});
     11%     elseif relnumb >=14
     12%         ZI=griddata(X,Y,Z,XI,YI,'linear',{'QJ'});
     13%     else
     14%         ZI=griddata(X,Y,Z,XI,YI,'linear');
     15%     end
    1516% else %smooth with thin plate spline
    1617%     [ZI,Z_diff]=patch_uvmat(X,Y,Z,XI,YI,rho);
Note: See TracChangeset for help on using the changeset viewer.