Extract data from .dat and plot a curve

1 visualizzazione (ultimi 30 giorni)
Ashish Paramane
Ashish Paramane il 8 Giu 2019
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?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by