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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.