numerical array is being saved as string
Afficher commentaires plus anciens
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
Réponses (1)
KSSV
le 14 Jan 2022
0 votes
Read about str2double and str2num.
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!