title: Indicator matrix in Matlab
body: <p>In matlab, I have a double datatype variable named <strong>Label</strong> with dimension <strong>1211 x 1</strong>.</p>
  
  <p>I would like to create a <strong>IndicatorMatrix</strong>(6 columns) such that if a row in the <strong>Label</strong> variable is <strong>34</strong> then the corresponding row in the <strong>IndicatorMatrix</strong> should be <strong>0 0 1 1 0 0</strong>.</p>
  
  <p>I mean 1 @ 3 and 4th column of Indicator matrix. </p>