convert an numeric array to char and display through uitable
Afficher commentaires plus anciens
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
Réponses (1)
Walter Roberson
le 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.
1 commentaire
mashudi
le 12 Mar 2012
Catégories
En savoir plus sur MATLAB 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!