MATLAB Answers

How to replace commas with periods in data?

5 ビュー (過去 30 日間)
Ibro Tutic
Ibro Tutic 2017 年 5 月 22 日
回答済み: Stephen Cobeldick 2017 年 5 月 22 日
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 件のコメント


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by