TF = truncf(F) truncates the vector/scalar field(s) F to the largest
centered square.
TF = truncf(F, 'nonzero') truncates the vector/scalar field(s) F to the
smallest rectangular area excluding zero (erroneous or masked)
elements.
TF = truncf(F, CUT) eliminates bands of width CUT along the borders of
the field (CUT is 0 by default). This is useful when boundary effects
are expected (e.g., using bwfilterf). By default, CUT is specified in
mesh units, unless the option 'phys' is specified (e.g.,
truncf(F, CUT, 'phys')).
If no output argument, the result is displayed by showvec or showscal.
See Also
extractf, rotatef, shiftf, bwfilterf.