Changeset 434 for trunk/src/tps_eval_dxy.m
 Timestamp:
 May 29, 2012, 11:02:08 PM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/tps_eval_dxy.m
r356 r434 31 31 32 32 [Dsites,Ctrs] = ndgrid(dsites(:,1),ctrs(:,1));%d coordinates of interpolation points (Dsites) and initial points (Ctrs) 33 DX=DsitesCtrs; 33 DX=DsitesCtrs;% set of x wise distances between sites and centres 34 34 [Dsites,Ctrs] = ndgrid(dsites(:,2),ctrs(:,2));%d coordinates of interpolation points (Dsites) and initial points (Ctrs) 35 DY=DsitesCtrs; 35 DY=DsitesCtrs;% set of y wise distances between sites and centres 36 36 DM = DX.*DX + DY.*DY;% add d component squared 37 37 … … 40 40 41 41 DMX=[DX.*DM zeros(M,1) ones(M,1) zeros(M,1)];% effect of mean gradient 42 DMY=[DY.*DM zeros(M,1) ones(M,1) zeros(M,1)];% effect of mean gradient42 DMY=[DY.*DM zeros(M,1) zeros(M,1) ones(M,1)];% effect of mean gradient 43 43
Note: See TracChangeset
for help on using the changeset viewer.