Hide the size of a table without using disp?
1 view (last 30 days)
Show older comments
I have a table and I'm trying to hide the size of the table that's shown at the top. Is there an alternative function that could be used to display the table while suppressing the size?
0 Comments
Answers (1)
VBBV
on 12 Dec 2022
X = randi([0 10],10,1);
Y = randi([0 100],10,1);
% display table with size
T = table(X,Y)
% display table without showing size of table using fprintf
fprintf('%d\t%d\n',[T.X.';T.Y.'])
0 Comments
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!