Char array to cell array

192 vues (au cours des 30 derniers jours)
RN
RN le 24 Jan 2020
How to convert character array to cell array? I have the values as follows:
val =
' -4.310.00
-4.390.00
-4.480.00
-4.570.00
-4.660.00
-4.750.00
-4.830.00
-4.920.00
-5.010.00
-5.100.00
-5.190.00
-5.270.00
-5.360.00
-5.450.00
-5.540.00
-5.620.00
-5.710.00
-5.800.00
-5.890.00
-5.980.00
-6.060.00
-6.150.00
-6.240.00
-6.330.00
-6.420.00
-6.500.00
-6.590.00
-6.680.00

Réponse acceptée

Walter Roberson
Walter Roberson le 24 Jan 2020
cellstr(val)
You might want
str2double( cellstr(val) )

Plus de réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by