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

조회 수: 15 (최근 30일)
Vasco
Vasco 2023년 7월 24일
편집: Cris LaPierre 2023년 7월 24일
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.

답변 (1개)

Cris LaPierre
Cris LaPierre 2023년 7월 24일
  댓글 수: 6
Cris LaPierre
Cris LaPierre 2023년 7월 24일
편집: Cris LaPierre 2023년 7월 24일
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 2023년 7월 24일
of course I can thank you and sorry for bothering

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by