Borrar filtros
Borrar filtros

numerical array is being saved as string

1 visualización (últimos 30 días)
Em
Em el 14 de En. de 2022
Respondida: KSSV el 14 de En. de 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

Respuestas (1)

KSSV
KSSV el 14 de En. de 2022
Read about str2double and str2num.

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by