Borrar filtros
Borrar filtros

problem in str2num

3 visualizaciones (últimos 30 días)
Maha Oueghlani
Maha Oueghlani el 9 de Nov. de 2018
Comentada: madhan ravi el 9 de Nov. de 2018
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 =
[]

Respuesta aceptada

madhan ravi
madhan ravi el 9 de Nov. de 2018
Editada: madhan ravi el 9 de Nov. de 2018
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 comentarios
Maha Oueghlani
Maha Oueghlani el 9 de Nov. de 2018
Thank's a lot
madhan ravi
madhan ravi el 9 de Nov. de 2018
Anytime :) make sure to accept the answer

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by