Mercurial > hg > ishara
annotate general/numerical/scalar/vlinterp_d.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | db7f4afd27c5 |
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; |