How can i align a column in a table?
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a table with 4 columns and i want to align the second and third column on the Centre!
What is the command on the Command window to do it?
Thanks in advance!!!
2 个评论
回答(1 个)
Peter Perkins
2018-2-20
Ioannis, it sounds like you are looking for output that's suitable for, say, putting in a report. The table command window display isn't really indented for that. You can create your own formatted output function using things like sprintf as building blocks, though.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!