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