How to read a text file and construct a matrix
Afficher commentaires plus anciens
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 commentaires
Jan
le 17 Nov 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
le 17 Nov 2016
Dimitrios Anagnostakis
le 17 Nov 2016
Modifié(e) : Dimitrios Anagnostakis
le 17 Nov 2016
Réponses (0)
Catégories
En savoir plus sur Data Import and Export dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

