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

조회 수: 4 (최근 30일)
muhammad nafees
muhammad nafees 2021년 4월 29일
답변: Uday Pradhan 2021년 5월 26일

답변 (1개)

Uday Pradhan
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.

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by