I am looking to extract data from the following .dat file, where the actual data starts from line 14. If anyone knows the code to extract data from this format please let me know!

1 visualización (últimos 30 días)

Respuesta aceptada

bikefan
bikefan el 16 de Abr. de 2017
filename= 'mydata.dat'; %this is your full filename
delimiterIn='\t'; %this is the delimiter, not sure if this correct
headerlinesIn=13; %this is where the header lines, data starts on line 14.
iload=importdata(filename,delimiterIn,headerlinesin)
This may work.

Más respuestas (0)

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