How to read a text file and construct a matrix
Mostrar comentarios más antiguos
Hi all,
I'd like to ask your help for a task I need to do.
I'm trying to read a text file with format as in the picture

and then create a matrix with 4 columns like the following

Please any advice-suggestion would be very welcome.
Cheers,
Dimi
3 comentarios
Jan
el 17 de Nov. de 2016
Matlab's matrices cannot contain numeric and string elements. Do you want a cell array? What have you tried so far? Which problems occurred?
Dimitrios Anagnostakis
el 17 de Nov. de 2016
Dimitrios Anagnostakis
el 17 de Nov. de 2016
Editada: Dimitrios Anagnostakis
el 17 de Nov. de 2016
Respuestas (0)
Categorías
Más información sobre Data Import and Export en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

