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 Ansicht (letzte 30 Tage)

Akzeptierte Antwort

bikefan
bikefan am 16 Apr. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by