view dsp/linlogspace.m @ 42:ae596261e75f

Various fixes and development to audio handling
author samer
date Tue, 02 Dec 2014 14:51:13 +0000
parents c3b0cd708782
children
line wrap: on
line source
% linlogspace - joined linear/log map
%
% linlogspace ::
%     F0:nonneg ~'starting of linear ramp',
%     F1:nonneg ~'crossover from linear to log',
%     N1:natural ~'number of steps in linear part',
%     R1:nonneg  ~'ratio of increase in log part',
%     N2:nonneg  ~'number of steps in log part'
% -> [[1,1+N1+N2]->nonneg].

function f=linlogspace(f0,f1,n1,r1,n2), f = [ linspace(f0, f1, n1), f1*r1.^(1:n2) ]; end