Remove apostrophe?

6 次查看(过去 30 天)
David Jessop
David Jessop 2012-3-15
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

采纳的回答

Image Analyst
Image Analyst 2012-3-15
Did you try str2double()?
  1 个评论
David Jessop
David Jessop 2012-3-15
Thanks! I thought I'd tried that but clearly tried everything but!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by