Well, I'm not a supporter of tables, only when I do exams. But please tell me how to format a table with several titles and columns, such as: Column 26 Column 43 Column 7. And below the row of titles, the values or the columns' numbers n * 1. It is because, for me, it's a bit difficult to understand, in the 'table help'. Thanks for your help. REGARDS
MATLAB: Spaces between columns, or, table format. How to assemble the table
spaces between columns
Related Question
- Extract all columns from a table where the column names “start with” a string
- Minus table with another table
- How to make a variable that is equal to the position of a row in a table by using the name of that row
- Fprintf table
- Creating a table in matlab
- Gather many tables in one table
- Joining 2 tables to make 1 table
Best Answer
Yor can use the following command to create a table with m rows and n columns.
You can specify the name of rows and columns of the table using t.Properties.RowNames and t.Properties.VariableNames respectively. For doing what you want, you can do it like this,
It will name all columns as Column 1, column 2, ...., Column n.