How can i create a table and store random values in each entry?
4 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Uday Pradhan
2021-5-26
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!