title: Is the time step related to sampling frequency in my program? MatLab
body: <p>If I code such as this:</p>
  
  <pre><code>for t=1:nt
    Z = Zwat + dQ*dt*idx2 - sigma*dt ;
  end
  </code></pre>
  
  <p>Where <code>dt</code> is my time step and, for one of my runs, <code>nt=10,000</code>. I save the variable <code>Z</code> every 50 time steps.  </p>
  
  <p>Will my sampling frequency then be <code>50*(dt^-1)</code>, for the purposes of doing a FFT using the built in MatLab function?</p>