how to create a table containing character and integer values in matlab????
Ältere Kommentare anzeigen
how to create a table containing character and integer values in matlab????
Antworten (1)
Guillaume
am 5 Feb. 2015
T = table(['M';'F';'M'],[45;32;34],...
{'NY';'CA';'MA'},logical([1;0;0]),...
'VariableNames',{'Gender' 'Age' 'State' 'Vote'})
1 Kommentar
Youssef Khmou
am 5 Feb. 2015
or use cell function
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!