Remove apostrophe?

6 visualizzazioni (ultimi 30 giorni)
David Jessop
David Jessop il 15 Mar 2012
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

Risposta accettata

Image Analyst
Image Analyst il 15 Mar 2012
Did you try str2double()?
  1 Commento
David Jessop
David Jessop il 15 Mar 2012
Thanks! I thought I'd tried that but clearly tried everything but!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by