Filter löschen
Filter löschen

numerical array is being saved as string

1 Ansicht (letzte 30 Tage)
Em
Em am 14 Jan. 2022
Beantwortet: KSSV am 14 Jan. 2022
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

Antworten (1)

KSSV
KSSV am 14 Jan. 2022
Read about str2double and str2num.

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by