Hi,
I have a problem making a Matlab movie with MOVIE2AVIE.
I want plot a 3-D visualitation in with:
Z=f(x,y,t) and it is a matrix
The code is more or less:
----------------------------------------------------------------------------------
clear all
DC=1;%:10;
t=0:0.001:0.02;
DG=0.7;%[0.4:0.1:0.9 1:10];
n=length(t);
for i=1:n [X11,Y11,Bt]=funtion1(DC,DG,t(i));
Z11(:,:,i)=Bt;
mesh(Y11,X11,Z11(:,:,i));
F(:,i) = getframe;
end
movie(F,1,1)
movie2avi(F,'movie.avi','compression','None')
-------------------------------------------------------
Thanks for the help!
I have a problem making a Matlab movie with MOVIE2AVIE.
I want plot a 3-D visualitation in with:
Z=f(x,y,t) and it is a matrix
The code is more or less:
----------------------------------------------------------------------------------
clear all
DC=1;%:10;
t=0:0.001:0.02;
DG=0.7;%[0.4:0.1:0.9 1:10];
n=length(t);
for i=1:n [X11,Y11,Bt]=funtion1(DC,DG,t(i));
Z11(:,:,i)=Bt;
mesh(Y11,X11,Z11(:,:,i));
F(:,i) = getframe;
end
movie(F,1,1)
movie2avi(F,'movie.avi','compression','None')
-------------------------------------------------------
Thanks for the help!