annotate dsp/linlogspace.m @ 47:82075c94eed1
adding a bunch of stuff, including graphics and pitch toolboxes.
author |
samer |
date |
Sat, 17 Jan 2015 15:20:35 +0000 |
parents |
c3b0cd708782 |
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
|