How can i align a column in a table?

4 Ansichten (letzte 30 Tage)
Ioannis Tsikriteas
Ioannis Tsikriteas am 20 Feb. 2018
Beantwortet: Peter Perkins am 20 Feb. 2018
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 Kommentare
moustaouli ayoub
moustaouli ayoub am 20 Feb. 2018
Can you clarify what problem you're having?
Ioannis Tsikriteas
Ioannis Tsikriteas am 20 Feb. 2018
I have a table with 4 columns from which i want the data on the middle ones to be alligned in the central of the column

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Peter Perkins
Peter Perkins am 20 Feb. 2018
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.

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by