Display Percentages in uitable
Afficher commentaires plus anciens
I have a numeric matrix of percentages in decimal form.
How can I display percentages (with the percent sign) in a uitable?
Réponses (1)
Fangjun Jiang
le 12 Juil 2011
a=100*rand(100,1);
b=strcat(num2str(a),'%');
c=cellstr(b);
h=uitable('Data',c);
Catégories
En savoir plus sur Debugging and Improving Code dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!