Home > General-Functions > monitor_samples.m

monitor_samples

PURPOSE ^

% monitor_samples(i,N)

SYNOPSIS ^

function monitor_samples(i,N_samples)

DESCRIPTION ^

% monitor_samples(i,N)
 i   =  current sample
 N   =  total number of samples

 wf 3/2018

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005