problem in str2num

3 次查看(过去 30 天)
Maha Oueghlani
Maha Oueghlani 2018-11-9
I try the code in the str2num doc but it don't works.. it give me an empty array ! can you help me ?
>> X = str2num ( '12e-3 5.9e-3 -8.1e-3 2.56e-3; 5 11,2 17,9 33' )
X =
[]

采纳的回答

madhan ravi
madhan ravi 2018-11-9
编辑:madhan ravi 2018-11-9
X = str2num( '12e-3 5.9e-3 -8.1e-3 2.56e-3; 5 11.2 17.9 33' ) %edited after kssv's comment
  5 个评论
Maha Oueghlani
Maha Oueghlani 2018-11-9
Thank's a lot
madhan ravi
madhan ravi 2018-11-9
Anytime :) make sure to accept the answer

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by