view dsp/synth/expchirp.m @ 58:ba866ae124c6

Now accepts single color index for all points.
author samer
date Fri, 09 Oct 2015 13:01:37 +0100
parents c75bb62b90a9
children
line wrap: on
line source
function y=expchirp(fs,f0,f1,t)
% expchirp - exponential chirp
%
% expchirp ::
%    F:real   ~'sampling frequency',
%    real     ~'initial frequency',
%    real     ~'final frequency',
%    D:nonneg ~'duration'
% -> [[1,D*F]].

y=chirp(0:(1/fs):t,f0,t,f1,'logarithmic',-90);