cell values divided by matrix

15 views
Skip to first unread message

Kuo-Hsien Chang

unread,
Sep 16, 2013, 3:42:28 PM9/16/13
to ncto...@googlegroups.com, Rich Signell, Alexander Crosby
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 



Reply all
Reply to author
Forward
0 new messages