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 view (last 30 days)

Accepted Answer

bikefan
bikefan on 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.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!