필터 지우기
필터 지우기

numerical array is being saved as string

조회 수: 1 (최근 30일)
Em
Em 2022년 1월 14일
답변: KSSV 2022년 1월 14일
I have a numerical array which is saved somehow as a string - when I get Matlab to return the variable, all the numbers are in speechmarks. Is there a way to remove this?
Cheers

답변 (1개)

KSSV
KSSV 2022년 1월 14일
Read about str2double and str2num.

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by