How to create a table?
Mostrar comentarios más antiguos
I've read the Matlab tutorial for creating one, but it doesn't work for me. Do you need to make it as a script? Could you type a simple code for it to get me started?
Respuesta aceptada
Más respuestas (2)
Azzi Abdelmalek
el 12 de Oct. de 2013
f=figure
headers={'A','B','C'}
data=[1 2 3;4 5 6;7 8 9]
h = uitable(f,'Data',data, 'ColumnName',headers);
For more details
help uitable
ADRIANA FERREIRA
el 27 de Sept. de 2018
0 votos
t = table; t.a = [1 2 3 4 5]'; t.b = [1 1 1 1 1]'; t.sum = t.a +t.b; disp(t);
Categorías
Más información sobre Tables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!