how to create a table containing character and integer values in matlab????

Antworten (1)

Isn't the example in the doc sufficient?
T = table(['M';'F';'M'],[45;32;34],...
{'NY';'CA';'MA'},logical([1;0;0]),...
'VariableNames',{'Gender' 'Age' 'State' 'Vote'})

Tags

Noch keine Tags eingegeben.

Gefragt:

am 5 Feb. 2015

Kommentiert:

am 5 Feb. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by