MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Help averaging multidimensional array 

Subject: Help averaging multidimensional array From: David Date: 20 Feb, 2012 15:09:12 Message: 1 of 15 
Hello, 
Subject: Help averaging multidimensional array From: ImageAnalyst Date: 20 Feb, 2012 15:15:22 Message: 2 of 15 
David: 
Subject: Help averaging multidimensional array From: David Date: 20 Feb, 2012 15:39:10 Message: 3 of 15 
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <b3f2fe20b74645148ce70e9fb877599b@x19g2000yqh.googlegroups.com>... 
Subject: Help averaging multidimensional array From: Roger Stafford Date: 20 Feb, 2012 20:43:11 Message: 4 of 15 
"David " <sum_is_41@hotmail.com> wrote in message <jhtnmo$ge3$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: David Date: 21 Feb, 2012 17:19:11 Message: 5 of 15 
Thanks a lot guys, I'm sure one of these methods will work eventually. 
Subject: Help averaging multidimensional array From: Matt J Date: 21 Feb, 2012 20:27:10 Message: 6 of 15 
"David " <sum_is_41@hotmail.com> wrote in message <jhtnmo$ge3$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: Matt J Date: 21 Feb, 2012 22:30:12 Message: 7 of 15 
"Matt J" wrote in message <ji0umu$g0$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: David Date: 22 Feb, 2012 16:33:10 Message: 8 of 15 
"Matt J" wrote in message <ji15tk$pce$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: David Date: 22 Feb, 2012 16:56:12 Message: 9 of 15 
> I think you can make the 'nanmean' routine work in your task if you organize things in the following manner: 
Subject: Help averaging multidimensional array From: Matt J Date: 22 Feb, 2012 16:58:15 Message: 10 of 15 
"David " <sum_is_41@hotmail.com> wrote in message <ji35c6$9e2$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: David Date: 22 Feb, 2012 16:59:15 Message: 11 of 15 
I have just realised the reason it looks wrong is not because the code is wrong. What i failed to mention before is that i need the NaN values to maintain their shape as they represent land on a contour map. 
Subject: Help averaging multidimensional array From: David Date: 22 Feb, 2012 17:09:12 Message: 12 of 15 
"Matt J" wrote in message <ji36r7$et4$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: David Date: 22 Feb, 2012 17:14:13 Message: 13 of 15 
Ignore the last message I was just being an idiot. 
Subject: Help averaging multidimensional array From: Matt J Date: 22 Feb, 2012 19:40:13 Message: 14 of 15 
"David " <sum_is_41@hotmail.com> wrote in message <ji37p5$htp$1@newscl01ah.mathworks.com>... 
Subject: Help averaging multidimensional array From: Roger Stafford Date: 22 Feb, 2012 20:27:12 Message: 15 of 15 
"David " <sum_is_41@hotmail.com> wrote in message <ji36nc$ejo$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.