How to dlmread with different format ?

5 visualizaciones (últimos 30 días)
RuiQi
RuiQi el 5 de Dic. de 2016
Editada: RuiQi el 5 de Dic. de 2016
How to dlmread with different format ? Like my text file has string and int etc

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Dic. de 2016
readtable() the file.
  2 comentarios
Walter Roberson
Walter Roberson el 5 de Dic. de 2016
Or, use num2cell on each numeric column, and horzcat() those together with the string columns
RuiQi
RuiQi el 5 de Dic. de 2016
Editada: RuiQi el 5 de Dic. de 2016
Cool ! readtable() is an awesome function ! Super easy to convert to cell

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by