Converting .nc files to an array and save it in a .txt

16 views (last 30 days)
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.

Answers (1)

Cris LaPierre
Cris LaPierre on 24 Jul 2023
  6 Comments
Cris LaPierre
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?
Vasco
Vasco on 24 Jul 2023
of course I can thank you and sorry for bothering

Sign in to comment.

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!