% monitor_samples(i,N) i = current sample N = total number of samples wf 3/2018
0001 function monitor_samples(i,N_samples) 0002 %% monitor_samples(i,N) 0003 % i = current sample 0004 % N = total number of samples 0005 % 0006 % wf 3/2018 0007 d=ceil(N_samples/100); 0008 0009 if mod(i,d)==0 0010 fprintf(num2str(i)),fprintf(',') 0011 end 0012 if mod(i,10*d)==0 0013 disp(' ') 0014 end 0015 0016 end 0017