[ KAIST ] in KIDS 글 쓴 이(By): judas (주다스) 날 짜 (Date): 2003년 12월 24일 수요일 오전 06시 25분 17초 제 목(Title): Re: [도움바랍니다.] MATLAB animation After solving your 2D wave equation, assuming your data is given by U(:,:,:), the following code will generate a movie called M, convert and save an avi file, test.avi without any compression, i.e., high resolution movie. for j = 1:10 pcolor(x, y, U(:,:,j)); shading('interp'); colormap('default'); caxis([zmin zmax]); M(j) = getframe; end movie2avi(M,'test.avi','compression','None') You will find more options for movie2avi using help command. Just to see the movie M, refer to "movie" in help. |