replace comma by dot
210 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Taiwo Bamigboye
il 4 Apr 2020
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
il 10 Set 2020
Muy buena e importante la intervención con respecto a los signos de puntuación es importante tenerle respeto a la escritura..
Risposta accettata
Jan
il 20 Ott 2012
Data = fileread(FileName);
Data = strrep(Data, ',', '.');
FID = fopen(NewFileName, 'w');
fwrite(FID, Data, 'char');
fclose(FID);
7 Commenti
Più risposte (1)
Carlox Velez
il 1 Apr 2016
It work super well and is a very fast solution Thanks for the answer Carlos
0 Commenti
Vedere anche
Categorie
Scopri di più su Search Path in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!