replace comma by dot
217 次查看(过去 30 天)
显示 更早的评论
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
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
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
2012-10-20
Data = fileread(FileName);
Data = strrep(Data, ',', '.');
FID = fopen(NewFileName, 'w');
fwrite(FID, Data, 'char');
fclose(FID);
7 个评论
更多回答(1 个)
Carlox Velez
2016-4-1
It work super well and is a very fast solution Thanks for the answer Carlos
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!