Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)

Risposte (1)

Uday Pradhan
Uday Pradhan il 26 Mag 2021
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.


Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by