Apply a lowpass filter to a vector/scalar field.
FF = filterf(F,FSIZE) applies a Gaussian filter of size FSIZE to the
vector/scalar field(s) F. If FSIZE is an array, its dimension must
match the dimension of F. If FSIZE is a scalar, the same filter size is
applied to each field of F. FSIZE=1 is taken by default if not specified.
FF = filterf(F,FSIZE,METHOD) specifies the filter:
'flat': flat (or top-hat) matrix, ones(FSIZE,FSIZE)
(FSIZE must be an even integer)
'gauss': gaussian (by default)
'igauss': derivative of the integrated gaussian (minimized
discretisation effects for small FSIZE).
Note : If there are missing data in the field, it is better to first
interpolate the data. See interpf.
The size of the filtered field is smaller than the original field, to
avoid boundary effects (the convolution is done by CONV2 with the
option 'valid'). If you prefer to keep the whole field, use
If no output argument, the result is displayed by showf.
v = loadvec('*.vc7');