numerical array is being saved as string

1 visualizzazione (ultimi 30 giorni)
Em
Em il 14 Gen 2022
Risposto: KSSV il 14 Gen 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

Risposte (1)

KSSV
KSSV il 14 Gen 2022
Read about str2double and str2num.

Categorie

Scopri di più su Cell Arrays in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by