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

Respuestas (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'})

Categorías

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 5 de Feb. de 2015

Comentada:

el 5 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by