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

 Réponse acceptée

Image Analyst
Image Analyst le 15 Mar 2012

0 votes

Did you try str2double()?

1 commentaire

David Jessop
David Jessop le 15 Mar 2012
Thanks! I thought I'd tried that but clearly tried everything but!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by