annotate dsp/linlogspace.m @ 32:c3b0cd708782

Imported core dsp tools.
author samer
date Sun, 20 Jan 2013 13:48:47 +0000
parents
children
rev   line source
samer@32 1 % linlogspace - joined linear/log map
samer@32 2 %
samer@32 3 % linlogspace ::
samer@32 4 % F0:nonneg ~'starting of linear ramp',
samer@32 5 % F1:nonneg ~'crossover from linear to log',
samer@32 6 % N1:natural ~'number of steps in linear part',
samer@32 7 % R1:nonneg ~'ratio of increase in log part',
samer@32 8 % N2:nonneg ~'number of steps in log part'
samer@32 9 % -> [[1,1+N1+N2]->nonneg].
samer@32 10
samer@32 11 function f=linlogspace(f0,f1,n1,r1,n2), f = [ linspace(f0, f1, n1), f1*r1.^(1:n2) ]; end