numerical array is being saved as string
Mostrar comentarios más antiguos
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
Respuestas (1)
KSSV
el 14 de En. de 2022
0 votos
Read about str2double and str2num.
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!