replace comma by dot

203 ビュー (過去 30 日間)
shaz
shaz 2012 年 10 月 20 日
コメント済み: Abdou Suso 2021 年 4 月 29 日
i have a csv file where comma is present in place of dot
this file needs to be imported to matlab & needs to replace comma by dot
  4 件のコメント
Taiwo Bamigboye
Taiwo Bamigboye 2020 年 4 月 4 日
Have tried so hard to learn MATLAB on my own but it seems not working for me. Please is there anyone that knows it very well and ready to teach me via zoom or team view, off course am ready to pay. All this online learning is not intuitive for me.
Sandy Ramírez
Sandy Ramírez 2020 年 9 月 10 日
Muy buena e importante la intervención con respecto a los signos de puntuación es importante tenerle respeto a la escritura..

サインインしてコメントする。

採用された回答

Jan
Jan 2012 年 10 月 20 日
Data = fileread(FileName);
Data = strrep(Data, ',', '.');
FID = fopen(NewFileName, 'w');
fwrite(FID, Data, 'char');
fclose(FID);
  7 件のコメント
Jan
Jan 2012 年 11 月 27 日
編集済み: Jan 2012 年 11 月 27 日
In fact. What a pitty. It would be useful to know, if shaz has deleted his comments. Together with the fact, that too many of my questions for clarifications are not answered, it would help me to estimate how useful my activities in his threads are.
Abdou Suso
Abdou Suso 2021 年 4 月 29 日
It worked perfectly for me. Thanks for the bost

サインインしてコメントする。

その他の回答 (1 件)

Carlox Velez
Carlox Velez 2016 年 4 月 1 日
It work super well and is a very fast solution Thanks for the answer Carlos

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by