How can I remove commas in columns number in the command line?
5 views (last 30 days)
Show older comments
Alberto Lutman
on 12 Nov 2020
Commented: Alberto Lutman
on 20 Nov 2020
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
Setsuna Yuuki.
on 13 Nov 2020
My matlab version is the R2020a and i don't find a option to change the point
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!