SF = smoothf(F,N) returns the (temporal) smooth of the vector or scalar
fields F (also called "Running average"), computed over N consecutive
fields, using the function averf. The field number i is given by
SF(i) = averf(F(i:(i+N-1)));
If the length of the input array F is L, the length of the smoothed
array SF is L - 2*CEIL(N/2). (It is better to use an odd value for N).
By default, smoothf considers that the zero elements of F are erroneous,
and does not include them in the computations. If however you want to
force the zero elements to be included in the computations, specify
If no output argument, the result is displayed by showf.
v = loadvec('*.vc7');
sf = smoothf(v, 5);
averf, spaverf, filterf, bwfilterf.
Published output in the Help browser