When displaying a row vector in the Matlab Command window, the column numbers larger than 1000 present now a comma making reading difficult, looking either like a couple or as decimal part of the number (in all countries using , for it instead of .).
How can those commas be removed? A sample of code generating the output is:
a=rand(1,1024)
Columns 982 through 990
0.2933 0.0516 0.5041 0.7684 0.2830 0.2254 0.3313 0.4533 0.7374
Columns 991 through 999
0.5099 0.3825 0.9055 0.9653 0.6283 0.1320 0.6183 0.3830 0.9912
Columns 1,000 through 1,008
0.2868 0.7062 0.5352 0.1932 0.6894 0.0505 0.1844 0.0457 0.8850
Columns 1,009 through 1,017
0.8398 0.1182 0.4104 0.1202 0.5721 0.9494 0.2564 0.9899 0.3498
Columns 1,018 through 1,024
0.2085 0.6658 0.9733 0.6227 0.0635 0.3735 0.1663
I want to display 1024 instead of 1,024
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/646373-how-can-i-remove-commas-in-columns-number-in-the-command-line#comment_1131003
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/646373-how-can-i-remove-commas-in-columns-number-in-the-command-line#comment_1131003
Sign in to comment.