Knobel's Matlab
Files or here To use: Put these files in the Work subfolder in the MATLABR11
Directory
In the MATLAB Command Window type one of: wvmovie, wvslice, wvsurf.
Or, enter the following commands
Enter
the function and grid:
x=-10:0.1:10;
t=0:0.3:6;
[X,T]=meshgrid(x,t);
u = exp(-(X-T).^2);
For Animation:
M = moviein(length(t));
for j=1:length(t),
plot(x,u(j,:)),
M(:,j)=getframe;
end;
movie(M)