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

5 visualizaciones (últimos 30 días)
muhammad nafees
muhammad nafees el 29 de Abr. de 2021
Respondida: Uday Pradhan el 26 de Mayo de 2021

Respuestas (1)

Uday Pradhan
Uday Pradhan el 26 de Mayo de 2021
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.

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by