How to create a double entry table ?

23 ビュー (過去 30 日間)
Sim
Sim 2022 年 10 月 18 日
コメント済み: Sim 2022 年 10 月 18 日
How to create a double entry table ?
Here below an example:
  2 件のコメント
Jan
Jan 2022 年 10 月 18 日
Which details of this example meets the definition of what a "double entry table" is? This is a table, what what are "double entries"? Does "double" mean, that something occurs twice, or is it the type double?
Sim
Sim 2022 年 10 月 18 日
編集済み: Sim 2022 年 10 月 18 日
thanks for the comment @Jan
As double entry table I mean with labels both on top and on the left sides of the table, i.e.
  • first entries: Event 1, Event 2, Event 3, ...
  • second (double) entries: Person 1, Person 2, Person 3, ...

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

採用された回答

Hiro Yoshino
Hiro Yoshino 2022 年 10 月 18 日
Is this something like this?:
B = table({'Michael';'Beverly';'Alice'},...
[64;69;67],...
[119;163;133],...
[122 80; 109 77; 117 75],...
'VariableNames',{'FirstName' 'Height' 'Weight' 'BloodPressure'},...
'RowNames',{'Garcia' 'Johnson' 'Wu'})
B = 3×4 table
FirstName Height Weight BloodPressure ___________ ______ ______ _____________ Garcia {'Michael'} 64 119 122 80 Johnson {'Beverly'} 69 163 109 77 Wu {'Alice' } 67 133 117 75
You can find some example if this is the one here: https://www.mathworks.com/help/matlab/matlab_prog/limitations-of-tables-and-timetables.html
  1 件のコメント
Sim
Sim 2022 年 10 月 18 日
Yes, many many thanks @Hiro!

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

その他の回答 (0 件)

カテゴリ

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