creating a table from an array or matrix
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In the application i need, I want be able to display a table. It has 8 columns, 40 rows, and want to be able for it to display cleanly and have headings for each column.
as well if possible, after i would like to be able to display only the top 5 rows along with headings of this table.
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 27 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 27 Feb. 2013
Use
uitable
Example
data=rand(5,2);
colnam ={'c1', 'c2'},
t=uitable('data',data,'columnname',colnam)
Fore more details
doc uitable
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!