From: asdf on 2 Aug 2006 22:08 Hi, all, I got an error from the following program, what's wrong with it? mov=avifile('flipflop'); axis tight; set(gca,'nextplot','replacechildren'); for j = 1:1000 plot(Z(j,1),Z(j,2),'ro','MarkerSize',10); F(j) = getframe; end movie(F); % error here mov=addframe(mov,F); mov=close(mov); Another question is that I want to preallocate the memory for F, how should I do it? F=zeros(1,1000) doesn't work. thanks.
|
Pages: 1 Prev: quit problem Next: need help: simulating BER versus speed in ofdm |