How to create a column table
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Felvie Valerie Leong
el 3 de Feb. de 2021
how to change the table so the number is in column straight down? I attach a picture on how it should be

vel=linspace(60,140,5);
time=[1:0.5:3];
table(time,vel,'VariableNames',{'Time','Velocity'})
ans =
1×2 table
Time Velocity
_____________________________ ______________________________
1 1.5 2 2.5 3 60 80 100 120 140
Respuesta aceptada
VBBV
el 3 de Feb. de 2021
vel=linspace(60,140,5);
time=[1:0.5:3];
table(time.',vel.','VariableNames',{'Time','Velocity'})
Use transpose .' operator
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!