% Compute two Gabor functions often also 
% called Gabor atoms, or also gaborettes.

t=-10:0.001:10;
b1=0;
a1=1;

b2=6;
a2=1./1.9;

g1=real(exp((-((t-b1)).^2)).*(exp(i.*((2).*pi).*((t-b1)))));
g2=real(exp((-((t-b2)).^2)).*(exp(i.*((4).*pi).*((t-b2)))));

plot(t,g1,'b',t,g2,'b');
axis([-10 10 -2.05 2.05]);
title('Two Gabor functions');


% "Complex and Chaotic Nonlinear Dynamics. 
% Advances in Economics and Finance, 
% Mathematics and Statistics" 
% T.Vialar, Springer 2009.
% Copyright(c).