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?
답변 (1개)
Fangjun Jiang
2011년 7월 12일
a=100*rand(100,1);
b=strcat(num2str(a),'%');
c=cellstr(b);
h=uitable('Data',c);
카테고리
도움말 센터 및 File Exchange에서 Debugging and Improving Code에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!