PIVMat Function Reference<< Prev | Next >> 
maskrectf
Mask a rectangular area in a vector/scalar field.

Description
EF = maskrectf(F,[X1 Y1 X2 Y2]) masks (i.e., puts zeros) in a 
rectangular area of coordinates [X1 Y1 X2 Y2] in the vector/scalar 
field(s) F. By default, the coordinates are given in mesh units. 
Specify maskrectf(F,[X1 Y1 X2 Y2],'phys') to give them in physical 
units (e.g. in mm). 
 
See zerotonanfield to mask using NaNs instead of zeros. 
 
If no output argument, the result is displayed by showf. 
 
See Also
truncf, extractf, shiftf, flipf, zerotonanfield, 
nantozerofield. 
Published output in the Help browser 
   showdemo maskrectf 
 

 Previous: makebospatternNext: matrixcoordf 

2005-2021 PIVMat Toolbox 4.20