# Taking Mean for several elements of a list [duplicate]

This question already has an answer here:

i have the following question: Let us assume we have the following list:

list={1.1,1.2,1.0,2.1,2.2,2,0,3.1,3.0,3.2}


I need a function that always takes three values of this list and put the Mean of these three values into a new list so I want to end with:

list2={1.1,2.1,3.1}


How can i do this easily?

Thank you in advance

Edit: Thank you very much

-

## marked as duplicate by Mr.Wizard♦May 30 '14 at 9:24

If you've received a satisfactory answer to your question, you don't have to edit your post to say thank you, you should accept the answer instead. –  Rahul May 30 '14 at 8:42
And you should upvote any answer you like, too. –  Yves Klett May 30 '14 at 8:45
I changed the marked duplicate to one that truly is a duplicate. Please also see the questions linked in my answer there. –  Mr.Wizard May 30 '14 at 9:30

Mean/@Partition[list,3]

In the example you've given, there's a stray $0$ which I think you may have missed.