numerical array is being saved as string

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일

0 개 추천

Read about str2double and str2num.

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

Em
2022년 1월 14일

답변:

2022년 1월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by