Extract data from .dat and plot a curve

Hello Guys,
I am new to the MATLAB and have a question regarding .dat files.
I have multiple .dat files with data in first column.
What I want to do is to take an average of a data inside of every .dat file and plot it against the time.
For example,
CD001.dat corresponds to data at the time of 1 sec and so on...
I have nearly 1000 .dat files corresponding to different times.
I want to take the average of the data inside every .dat file and save it for a corresponding time.
Then, I want to plot every average value corresponding to the respective time.
How it can be done?

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 8 Jun 2019

Edited:

on 8 Jun 2019

Community Treasure Hunt

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

Start Hunting!