Remove signal regions of interest
Create a two-column matrix of integers that can represent regions of interest of a signal. Remove any regions that are six samples in length or shorter.
rois = [1 6; 17 26; 24 32; 36 40]; xrois = removesigroi(rois,6)
xrois = 2×2 17 26 24 32
roilims— Region-of-interest limits
Region-of-interest limits, specified as a two-column matrix of positive integers. The
ith row of
roilims contains nondecreasing
indices corresponding to the beginning and end samples of the ith
region of interest of a signal.
[5 8; 12 20; 18 25] specifies a two-column region-of-interest
matrix with three regions.
s— Maximum length of regions of interest to remove
Maximum length of regions of interest to remove, specified as a nonnegative integer.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).