Generate an 18-by-2 mask of binary sequences. Use the mask to create a signalMask object and label the categories as A and B. Extract an ROI table mask from the object.
Generate a 16-sample categorical sequence mask with two categories, A and B. Specify as missing those samples that do not belong to A or B. Use the mask to create a signalMask object. Extract an ROI table mask from the object.
Example: signalMask(table([2 4;6 7],["male" "female"]')) specifies a
signal mask with a three-sample male region and a two-sample
female region.
Example: signalMask(categorical(["" "male" "male" "male" "" "female" "female"
""]',["male" "female"])) specifies a signal mask with a three-sample
male region and a two-sample female
region.
Example: signalMask([0 1 1 1 0 0 0 0;0 0 0 0 0 1 1 0]','Categories',["male"
"female"]) specifies a signal mask with a three-sample
male region and a two-sample female
region.
If SampleRate is specified, the region limits in
tbl are expressed in seconds.
If RightExtension is greater than zero and SourceType is specified as 'categoricalSequence'
or 'binarySequences', the region limits in
tbl may go beyond the length of the sequence.
Number of regions found for each of the categories in cats, returned as a
vector of integers.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.