convert an numeric array to char and display through uitable
Show older comments
hi everyone, after i searching a lot i still couldn't find the solutions.. anyone pliz give me some directions on my problem here:
i.e. A =
[9 0 -2 3 -4
8 -9 1 0 -3
7 -8 9 -1 2
6 -7 8 -9 1]
i need to convert it to:
B =
[mln 0 *bar* mcu *ars*
bmc *mln* int 0 *mcu*
mct *bmc* mln *int* bar
juc *mct* bmc *mln* int]
in star quote means, while negative elements so it's display in bold
thx before for any of your attention, i appreciate it a lot
Answers (1)
Walter Roberson
on 10 Mar 2012
0 votes
In order to display entries in bold, you will need to wrap them in HTML. See http://www.mathworks.com/matlabcentral/answers/25038-how-to-change-each-cell-color-in-a-uitable for the basic technique.
Categories
Find more on Biological and Health Sciences 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!