Display Percentages in uitable

I have a numeric matrix of percentages in decimal form.
How can I display percentages (with the percent sign) in a uitable?

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 12 de Jul. de 2011

2 votos

a=100*rand(100,1);
b=strcat(num2str(a),'%');
c=cellstr(b);
h=uitable('Data',c);

Categorías

Más información sobre Debugging and Improving Code en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Jul. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by