Average data from multiple tsv files to graph

10 views (last 30 days)
Maddie
Maddie on 19 Jul 2011
Hi everyone,
I'm trying to pull data from multiple tsv files and average them together and plot it as a single graph. I'm trying to figure out how to do this but does anyone know a nice way of doing it? Newish to matlab so this might be an obvious answer.

Answers (2)

Ashish Uthama
Ashish Uthama on 19 Jul 2011
TSV (Tab separated values) can be read using dlmread.
To process multiple files, have a look at this code structure.
And to take the mean, look at ..., the mean function :)

Stephan Koehler
Stephan Koehler on 3 Oct 2011
I wrote a script just for this, which is on MATLAB central file exchange: look for tsvread.m

Community Treasure Hunt

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

Start Hunting!