title: Matrix Multiplication of two Complex Vectors in Simulink
body: <p>Two questions really, But I would like to make it more descriptive : </p>
  
  <p>I am implementing a Modulator which involves Matrix Multiplication of complex Vector:</p>
  
  <p>Just to give an example : </p>
  
  <pre><code>cck_encoding_table(1,:)= [  1j  1  1j -1  1j  1 -1j  1 ];
  cck_encoding_table(2,:)= [ -1j -1 -1j  1  1j  1 -1j  1 ];
  cck_encoding_table(3,:)= [ -1j  1 -1j -1 -1j  1  1j  1 ];
  cck_encoding_table(4,:)= [  1j -1  1j  1 -1j  1  1j  1 ];
  </code></pre>
  
  <p>Basically, I need to implement this in Simulink( Xilinx) eventually in Hardware: </p>
  
  <pre><code>cck_n_code=exp(1j*Phi1)*cck_encoding_table(index+1,:);
  </code></pre>
  
  <p>My question, how to model Matrix Multiplication with Complex Vectors. My understanding is to use <a href="http://www.xilinx.com/support/documentation/ip_documentation/cmpy_ds291.pdf" rel="nofollow">Complex Multiplier</a>. But that is to multiply only 2 complex vectors</p>
  
  <p>If I have to multiply more than 2 complex vector in a single clock would it be possible. </p>
  
  <p>I am not expecting any answers like model itself, but possible approach/direction if any to solve the problem</p>
  
  <p>Thanks for reading,
  Kiran</p>