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?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by