lss =
labeledSignalSet with properties:
Source: {2×1 cell}
NumMembers: 2
TimeInformation: "sampleRate"
SampleRate: 4000
Labels: [2×3 table]
Description: "Characterize wave song regions"
Use labelDefinitionsHierarchy to see a list of labels and sublabels.
Use setLabelValue to add data to the set.
信号が子供のクジラに対応するのか、成体のクジラに対応するのかを指定するラベルの定義を作成します。
calf = signalLabelDefinition("Calf", ...
LabeldataType="logical",DefaultValue=false, ...
Description="Is the specimen a calf, or an adult?")
calf =
signalLabelDefinition with properties:
Name: "Calf"
LabelType: "attribute"
LabelDataType: "logical"
ValidationFunction: []
DefaultValue: 0
Sublabels: [0×0 signalLabelDefinition]
Tag: ""
Description: "Is the specimen a calf, or an adult?"
Use labeledSignalSet to create a labeled signal set.
ラベル付き信号セットにこの定義を追加します。ラベルの名前を取得します。
addLabelDefinitions(lss,calf)
getLabelNames(lss)
ans = 4×1 string
"WhaleType"
"MoanRegions"
"TrillRegions"
"Calf"