Read tsv. file
Mostrar comentarios más antiguos
Hoping somebody can help me out with some code. I’m trying to read .tsv files into Matlab using a loop so I can go through a bunch of trials quickly. I’ve never read in .tsv files before. I am looking at the code starting on line 55, The code on line 56 is supposed to get rid of the first 27 rows since those rows were all text and no data.
Attahced csv.file format was tsv. but I had to change the label to csv. due to reading file error.
Appreciate
5 comentarios
Walter Roberson
el 27 de En. de 2020
dlmread with tab as the separator and passing in the number of rows to skip (number of header lines) as the row offset.
Houn JH
el 27 de En. de 2020
Walter Roberson
el 27 de En. de 2020
dlmread(filename, '\t', 27,0)
Houn JH
el 28 de En. de 2020
Walter Roberson
el 28 de En. de 2020
Editada: Walter Roberson
el 17 de Mayo de 2022
Respuestas (0)
Categorías
Más información sobre MATLAB Report Generator 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!