title: Impulse response function in matlab
body: <p>There are examples for summation of a vector but not for matrix in Matlab. So please help solve the following:</p>
  
  <p>How to write impulse response function in matlab?</p>
  
  <p>I want program in Matlab for the equation: </p>
  
  <pre><code>hij(t) = ∑_(k=1)to n (φik*φjk*e-xwk*sin(wdk(t))/(M*wdk))
  </code></pre>
  
  <ul>
  <li>h is impulse response function</li>
  <li>φ is mode shape</li>
  <li>x is constant </li>
  <li>wk is kth mode nat frequency</li>
  <li>wdk is kth mode damped frequency</li>
  <li>M is mass matrix.</li>
  </ul>