Remove apostrophe?

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

 Respuesta aceptada

Image Analyst
Image Analyst el 15 de Mzo. de 2012

0 votos

Did you try str2double()?

1 comentario

David Jessop
David Jessop el 15 de Mzo. de 2012
Thanks! I thought I'd tried that but clearly tried everything but!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by