title: Decreasing data points by half via downsampling
body: <p>Let say I have a <code>6x5</code> matrix (my actual data is way bigger)</p>
  
  <p>A B C D E</p>
  
  <p>1 5 7 2 3</p>
  
  <p>2 1 9 8 5</p>
  
  <p>3 1 2 3 1</p>
  
  <p>4 1 3 4 2</p>
  
  <p>5 2 9 0 1</p>
  
  <p>6 5 3 4 3</p>
  
  <p>I have to make a plot with A on the x-axis and B,C,D on the y-axis. If I want to reduce the data points by half (by averaging each adjacent pair of data points), how do I do it?  What if I want to decrease the points even further by averaging every five (or <code>n</code>) points?</p>
  
  <p>I looked at the MATLAB help document but I'm still confused</p>
  
  <p><strong>I got what I needed, thanks for the input guys, it really helped</strong></p>