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 visualizzazione (ultimi 30 giorni)

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by