MATLAB Answers

How to replace commas with periods in data?

12 views (last 30 days)
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)?

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by