필터 지우기
필터 지우기

Char array to cell array

조회 수: 180 (최근 30일)
RN
RN 2020년 1월 24일
답변: Walter Roberson 2020년 1월 24일
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

채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 24일
cellstr(val)
You might want
str2double( cellstr(val) )

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by