Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
calculate fractions from subcategory values and total values in a lat,lon matrix (netcdf file)
Replies:
0




calculate fractions from subcategory values and total values in a lat,lon matrix (netcdf file)
Posted:
Sep 16, 2013 3:45 PM


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



