How to replace commas with periods in data?

7 vues (au cours des 30 derniers jours)
Ibro Tutic
Ibro Tutic le 22 Mai 2017
I am importing some data that originated in Germany, and they used commas instead of periods to indicate decimals. Now my issue is that when I import the data, I would like to import the data as a double, but I can't because the commas are treated as strings and not as decimal places. Any work around for this (replacing the commas with periods or something)?

Réponse acceptée

Stephen23
Stephen23 le 22 Mai 2017

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by