- https://www.mathworks.com/matlabcentral/answers/1998568-how-to-calculate-8-days-mean-from-ten-years-data
- https://www.mathworks.com/matlabcentral/answers/1997658-how-do-i-compute-mean-values-of-nine-variables-over-lat-x-lon-x-time
Converting .nc files to an array and save it in a .txt
16 views (last 30 days)
Show older comments
I've been working on a code to read the information of the GRACE mission the files are .nc and my Professor asked me to create an array where I save the statistics of the entire folder where all the files are, I need to save the averages of the results to a .txt file.
Can somebody guide me to some video or give me some sort of direction on what to do?
Thank you.
0 Comments
Answers (1)
Cris LaPierre
on 24 Jul 2023
Here are a couple recent posts that are similar and may provide you with the help you are looking for:
You may also find this page helpful:
6 Comments
Cris LaPierre
on 24 Jul 2023
Edited: Cris LaPierre
on 24 Jul 2023
Sounds like a for loop, then. That is the solution show in the Answers post I linked to above. Can you make an attempt at taking the solution shared there and adapting it to work with your code?
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!