Display Percentages in uitable
Show older comments
I have a numeric matrix of percentages in decimal form.
How can I display percentages (with the percent sign) in a uitable?
Answers (1)
Fangjun Jiang
on 12 Jul 2011
a=100*rand(100,1);
b=strcat(num2str(a),'%');
c=cellstr(b);
h=uitable('Data',c);
Categories
Find more on Debugging and Improving Code 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!