How can i create a table and store random values in each entry?

回答 (1 件)

Uday Pradhan
Uday Pradhan 2021 年 5 月 26 日

0 投票

Hi,
You could try the following:
f = figure;
uit = uitable(f,'Data',randi(100,10,3)); %Creates a 10 by 3 table with random entries within 100
I hope it helps.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2021 年 4 月 29 日

回答済み:

2021 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by