I am using MATLAB 7.9 (R2009b) to plot data in a for loop.
figure; title('Plot during execution');A = rand(1,10);B = rand(1,10);N = length(A);for idx=1:N plot(A(idx),B(idx), '*-');end
With this code the plot does not update in the for loop.
Best Answer