convert an numeric array to char and display through uitable
古いコメントを表示
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
回答 (1 件)
Walter Roberson
2012 年 3 月 10 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Biological and Health Sciences についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!