How can i align a column in a table?
Show older comments
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 Comments
moustaouli ayoub
on 20 Feb 2018
Can you clarify what problem you're having?
Ioannis Tsikriteas
on 20 Feb 2018
Answers (1)
Peter Perkins
on 20 Feb 2018
0 votes
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.
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!