%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MAO 2004/2005
%
%   =================================================
%   Premiers exemples en Matlab
%   =================================================
%
%   Petite animation
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

h=0.1;
dt=0.1; 
x=0:h:1;                 
nitertemps=100;
for i=1:nitertemps
u=sin(pi*x*sin(i*dt));
plot(x,u)
drawnow;
end
