And what is the problem? I consider 0 to be the correct answer for the average if the mask is all 0.
----- Original Message ----- From: Brian Schott <[email protected]> Date: Wednesday, December 2, 2009 8:53 Subject: Re: [Jprogramming] averages of non-zero elements of matrices To: Programming forum <[email protected]> > Roger, > > Your solutions do not work well with the third row of all zeros. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
