filling a netcdf file

1 view (last 30 days)
Filio
Filio on 20 Mar 2013
Hello, I have a netcdf file of 2 variables filled with dummy (all zeros) values. I would like to replace the zeros with values from 2 txt files. Which command do I need to use?
Thank u in advance!

Answers (1)

Ashish Uthama
Ashish Uthama on 20 Mar 2013
To read:
To write to netcdf:
  • nccreate (Skip if you already have the file with the variables as you mention)
  • ncwrite
if you have an older version of MATLAB:

Tags

Community Treasure Hunt

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

Start Hunting!