How can i align a column in a table?

3 ビュー (過去 30 日間)
Ioannis Tsikriteas
Ioannis Tsikriteas 2018 年 2 月 20 日
回答済み: Peter Perkins 2018 年 2 月 20 日
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 件のコメント
moustaouli ayoub
moustaouli ayoub 2018 年 2 月 20 日
Can you clarify what problem you're having?
Ioannis Tsikriteas
Ioannis Tsikriteas 2018 年 2 月 20 日
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

サインインしてコメントする。

回答 (1 件)

Peter Perkins
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.

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by