Hi. Suppose I load data from a .csv file:(adsbygoogle = window.adsbygoogle || []).push({});

Blah

@Blah

2Blah

Blah

f Blah

fa Blah

Blahasd

Blahasda

vasf Blah

as Blah

asdas Blah

Date Time Ch1:

07/25/2012 42:46.0 96.385

07/25/2012 42:46.0 -177.608

07/25/2012 42:46.0 155.481

07/25/2012 42:46.0 64.15

an attempt would be to manipulate the data first before I read it, things would be much more subtle:

fid = fopen('PULL1.CSV');

data = textscan(fid, '%s' ,'delimiter', '\b');

data2 = data{:,:}

data3 = data2(13:end,:);

fclose(fid);

-----

The output then is:

'07/25/2012,17:49:56.080,37.288'

'07/25/2012,17:49:56.085,37.288'

'07/25/2012,17:49:56.090,53.405'

Would I still have to run textscan to recognize the entries seperated by the commas?

How would I be able to plot time vs. the third column?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Importing Data in MATLAB

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Importing Data MATLAB | Date |
---|---|

Fitting Data Imported into Mathematica from Excel | Oct 15, 2012 |

Data format AFTER import into Mathematica from Excel.xls worksheet | Jul 17, 2012 |

Matlab - checks on imported data | Dec 9, 2009 |

Easy: importing a batch of data into MATLAB | Jul 24, 2009 |

Importing data into MATLAB | Oct 13, 2006 |

**Physics Forums - The Fusion of Science and Community**