title: Half Sine Pulse Shaping - Matlab
body: <p>The standard of 802.15.4 specfies the following:</p>
  
  <blockquote>
    <p>The chip sequences representing each data symbol are modulated onto
    the carrier using O-QPSK with halfsine pulse shaping.</p>
  </blockquote>
  
  <p>For pulse shaping the following is mentioned: </p>
  
  <blockquote>
    <p>The half-sine pulse shape used to represent each baseband chip is described by</p>
  </blockquote>
  
  <pre><code>p(t) = sin(pi*(t/(2*Tc))) , 0 &lt; t &lt; 2Tc where Tc = Chip Rate (2 MChips/s) 
       = 0, otherwise
  </code></pre>
  
  <p>I am using the <code>modem.oqpskmod</code> function for modulation and am not sure if this has a half sine pulse shaping built in.</p>
  
  <p>Could someone guide me how should this be implemented in Matlab as I have not found a function in Matlab for this.</p>