フィルターのクリア

how to create a figure that includes a table

19 ビュー (過去 30 日間)
Tariq Hammoudeh
Tariq Hammoudeh 2023 年 3 月 9 日
回答済み: Eric Delgado 2023 年 3 月 9 日
if I have the folloowing table:
number=[1;2;3;4;5];
data=[34;39;41;22;19];
subData=[0.5;0.7;0.9;1;1.1];
answer=table(number, data, subData);
Is there a way to display this table as a figure once I run the code

採用された回答

Eric Delgado
Eric Delgado 2023 年 3 月 9 日
Yeah... just create an uitable. Try this...
number=[1;2;3;4;5];
data=[34;39;41;22;19];
subData=[0.5;0.7;0.9;1;1.1];
answer=table(number, data, subData);
fig = uifigure;
tab = uitable(fig, 'Data', answer)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by