annotate general/numerical/vlinterp_d.m @ 6:0ce3c2070089

Removed duplicate code and fixed doc in timed_action.
author samer
date Mon, 14 Jan 2013 14:33:37 +0000
parents e44f49929e56
children
rev   line source
samer@4 1 function z=vlinterp_d(k,z0,d)
samer@4 2 % vlinterp_d - linear interpolation between two points
samer@4 3 %
samer@4 4 % vlinterp_d ::
samer@4 5 % real ~'fraction of distance to travel from from initial to final point',
samer@4 6 % [Size] ~'initial point',
samer@4 7 % [Size] ~'vector from initial to final point'
samer@4 8 % -> [Size] ~'interpolated point'.
samer@4 9 %
samer@4 10 % Definition is vlinterp_d(k,z0,d) = vlinterp(k,z0,z0+d)
samer@4 11 %
samer@4 12 % See also: LINTERP, VLINTERP
samer@4 13
samer@4 14
samer@4 15 z = z0+k*d;