Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02

by

 

27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

truncf (PIVMat Toolbox)
truncf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
truncf
Truncate a vector/scalar field.

Description
TF = truncf(F) truncates the vector/scalar field(s) F to the largest 
centered square. 
 
TF = truncf(F, CUT), in addition to the truncation to the largest 
centered square, also 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')). 
 
TF = truncf(F, 'nonzero') truncates the vector/scalar field(s) F to the 
smallest rectangular area excluding zero (erroneous or masked) 
elements. This may be useful after using rotatef. 
 
If no output argument, the result is displayed by showf. 
 
See Also
extractf, rotatef, resizef, flipf, shiftf, remapf. 
 
Published output in the Help browser 
   showdemo truncf 

 Previous: tempspecfNext: vec2mat 

2005-2013 PIVMat Toolbox 3.02

Contact us