Effacer les filtres
Effacer les filtres

numerical array is being saved as string

1 vue (au cours des 30 derniers jours)
Em
Em le 14 Jan 2022
Réponse apportée : KSSV le 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

Réponses (1)

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

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by