Mercurial > hg > ishara
view sequences/lindata.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | b1280319413e |
children |
line wrap: on
line source
function y=lindata(A,B,N) % lindata - linear data sequence % % lindata :: % real ~'initial value', % real ~'final value', % natural ~'number of steps (sequence length is steps+1), % -> seq [[1,M]]. k=(B-A)/N; y=map(@(i)A+k*i,integers(0,N));