Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: calculate fractions from subcategory values and total values in a lat,lon matrix (netcdf file)
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Kuo-Hsien

Posts: 8
Registered: 7/26/12
calculate fractions from subcategory values and total values in a lat,lon matrix (netcdf file)
Posted: Sep 16, 2013 3:45 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi -

May I ask a question?

I like to calculate the fraction from subcategory values and total subcategory values in a lat,lon matrix. How to do this in Matlab or in nctoolbox?

For example, I like to calculate faction_npp:

short npp(time, pft, latitude, longitude) ;
short npptot(time, latitude, longitude) ;

faction_npp = npp ./ npptot

The results should be short faction_npp(time, pft, latitude, longitude) ;

Any directions are appreciated.

Thanks,

Michael



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.