chart or txt or string 2 decimal num -Comma to point

Load a file in txt format, select the data, change each comma that there is with a point.


Updated 17 Feb 2010

View License

in this file there is an algoritm, it s not a function.
if you have a file with data number with the decimal part indicated by a comma, and you need to import this datas as number, you need before transform comma with point.
in this file a varialble is loaded, and it going to be stranformed in a new one with the point instead the comma, and also it go to transforming the string of charts in a decimal number.
For better undestanding please look inside the file.
It is commented.
NB. with this file you going to loose your initial formatting of data, in txt format.

Cite As

MARCELLO CAMMARATA (2023). chart or txt or string 2 decimal num -Comma to point (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes