Interpolation

Discussion

Matlab programs
   
near_1.m    near_1a.m    near_1b.m
One dimensional interpolation - nearest data point
invd_1.m    invd_1a.m    invd_1b.m
One dimensional interpolation - inverse distance squared
 
 
   
near_2.m    near_2a.m    near_2b.m
Two dimensional interpolation - nearest data point
invd_2.m    invd_2a.m    invd_2b.m
Two dimensional interpolation - inverse distance squared
 
 
    nonlintest.m
Example showing creation of nonlinear intervals between grid lines
Figures below show various degrees of nonlinearity
   
Input is .2 Input is .5
   
Input is 5 Input is 2
   
Input is 1