I am sure that this is a simple one but it has stumped me.
Does anyone know how to get rid of apostrophes surrounding a number in a cell? I have got table data from the web but it appears with apostrophes - I'd like to be able to remove these and convert to double.
Many thanks

 Akzeptierte Antwort

Image Analyst
Image Analyst am 15 Mär. 2012

0 Stimmen

Did you try str2double()?

1 Kommentar

David Jessop
David Jessop am 15 Mär. 2012
Thanks! I thought I'd tried that but clearly tried everything but!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by