This will be very short post. Just to write how to do simple video in Matlab. Are you able to produce figures? Then it is no more work.
Into the variable F we will save frames (figures). When all figures are loaded, then we can play the movie by function movie. It can be also exported to avi format.
And just one little note about very useful function cat - it will join two variables together. It can be vectors, matrices or stuctures like structure F and F1 containing frames. Very important is the number specified in cat function, which says along which dimension the variables will be joined.
Žádné komentáře:
Okomentovat