categorical
>> T=table({'chorong';'bomi';'hayong';'ty'},{'m';'m';'w';'m'},...)
[32;30;28;27],[134;356;768;356],logical([1;0;0;1]),...
'VariableName',{'NAME' 'GENDER' 'AGE' 'HEIGHT' 'MARRIED'})
T =
4×5 table
NAME GENDER AGE HEIGHT MARRIED
_________ ______ ___ ______ _______
'chorong' 'm' 32 134 true
'bomi' 'm' 30 356 false
'hayong' 'w' 28 768 false
'ty' 'm' 27 356 true
>> t=table(categorical({'chorong';'bomi';'hayong';'ty'}),{'m';'m';'w';'m'},...)
[32;30;28;27],[134;356;768;356],logical([1;0;0;1]),...
'VariableName',{'NAME' 'GENDER' 'AGE' 'HEIGHT' 'MARRIED'})
t =
4×5 table
NAME GENDER AGE HEIGHT MARRIED
_______ ______ ___ ______ _______
chorong 'm' 32 134 true
bomi 'm' 30 356 false
hayong 'w' 28 768 false
ty 'm' 27 356 true
让chorong 没有‘’
标签:768,false,categorical,AGE,356,matlab,chorong,true From: https://www.cnblogs.com/zhang-little/p/16665590.html