 cos((2n+1)*pi/(4*N))</pre> </dd></dl>
<dl class="section user"><dt></dt><dd>C command to generate the table <pre>
for (i = 0; i&lt; N; i++)
{
  cos_factors[i] = 2 * cos((2*i+1)*c/2);
} </pre> </dd></dl>
<dl class="section user"><dt></dt><dd>where <code>N</code> is the number of factors to generate and <code>c</code> is <code>pi/(2*N)</code> </dd></dl>
<dl class="section user"><dt></dt><dd>Then converted to q31 format by multiplying with 2^31 and saturated if required. </dd></dl>

</div>
</div>
<a class="an