- Use ‘nccreate’ to create an output file.
- Use ‘ncread’ to read data from each of the input files.
- Cumulatively write the data into the output file using ‘ncwrite’.
- nccreate: https://www.mathworks.com/help/matlab/ref/nccreate.html
- ncread: https://www.mathworks.com/help/matlab/ref/ncread.html
- ncwrite: https://www.mathworks.com/help/matlab/ref/ncwrite.html