Borrar filtros
Borrar filtros

error in reading csv file

1 visualización (últimos 30 días)
Ayman Mounir
Ayman Mounir el 14 de Mzo. de 2021
Respondida: Jan el 14 de Mzo. de 2021
Hello everyone,
I have a problem ( as shown in the figure) in reading csv file using readtable function. the coulmon of the time in csv file is written as 455.33.22 it means 4553322 seconds.
Thanks in advance.
Ragrds,
Ayman

Respuestas (1)

Jan
Jan el 14 de Mzo. de 2021
Use the 'Format' option of readtable to import the time as string. Then remove the dots with strrep and convert the rest to a number.

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by