/ gears / hpc / education / tutorials / matlab / win
movie(m,n)
GIVEN: A set of x,y,z data.
REQUIRED: Plot the data and produce a movie
SOLUTION:Generate Example10.m
[X,Y,Z]=peaks(30); surfl(X,Y,Z) axis([-3 3 -3 3 -10 10]) axis off shading interp colormap(hot) m=moviein(15); for i=1:15 view(-37.5+24*(i-1),30)
m(:,i)=getframe;
end
Please send questions or suggestions about this web page to beatnic@aset.psu.edu ASET | ITS | Penn State