📄 mappingtype.m
字号:
%MAPPINGTYPE Determine mapping type%% n = mappingtype(W)%% n = 1 : combiner% n = 2 : fixed% n = 3 : untrained% n = 4 : trainedfunction n = mappingtype(w)if isstr(w.d); if strcmp(w.d,'combiner'); n = 1; return elseif strcmp(w.d,'fixed'); n = 2; return endendif isa(w.d,'double') & isnan(w.d) n = 2; returnendif strcmp(w.m,'sequential')& mappingtype(w.d{2}) == 3 n = 3;elseif strcmp(w.m,'sequential')& mappingtype(w.d{2}) == 2 n = 2;else if w.c == 0 n = 3; else n = 4; endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -