How to display 1x20 array in table ?

1 回表示 (過去 30 日間)
Fiona Asham
Fiona Asham 2021 年 4 月 28 日
コメント済み: David Fletcher 2021 年 4 月 28 日
How do i display multiple 1x20 arrays in a table with a column for the names

回答 (1 件)

David Fletcher
David Fletcher 2021 年 4 月 28 日
Do you mean something like this?
A=1:20
B=1:20
table(A',B','VariableNames',{'A_name','Another name'})
20×2 table
A_name Another name
______ ____________
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
17 17
18 18
19 19
20 20
  2 件のコメント
Fiona Asham
Fiona Asham 2021 年 4 月 28 日
That but horizontally
David Fletcher
David Fletcher 2021 年 4 月 28 日
Essentially it would be the same thing, I just didn't want to invent/type out 20 column headings

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

カテゴリ

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