How to make the average for columns in cvs folder contains (700 file) ?
1 view (last 30 days)
Show older comments
Hi, I have a folder contains around 700 file. cvs extension and three variables (mean axial , mean radial, and mean tangential). I need a perfect way to get the average of these variables in all cvs files. I have tried some codes before and also converted the cvs files to excel files but this way consumes too much time.
Thanks for your help, I'm pretty new to Matlab.
0 Comments
Answers (1)
dpb
on 8 Mar 2021
Well, you've got to read the files somehow...show us what you have tried...here's the link to one way Mathworks suggests --
For something like this presuming the files are all commensurate in size and not terribly big, I tend to just read into memory storing in 3D array, each file a 2D plane.
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!