How to replace commas with periods in data?

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)?

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Mayo de 2017

Respondida:

el 22 de Mayo de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by