I am wondering how to apply a specific format to the newly available string array?
mat = [0, 0.4, 0.2 ; 0, 0.6, 0.8]
str = string(mat)
I would like the resulting string array to show always two decimals, followed by the percent sign (such as sprintf('%.2f%%', str)).
How am I supposed to do that? If it's not possible with a string array, a cell array of char would be equally fine.