title: How can i generate sinusoidal wave in Matlab?
body: <p>How can i generate sinusoidal wave in Matlab with frequency of 1 HZ and sampling frequency 200 HZ and sequence length N=1024 ?</p>
  
  <pre><code>N=1024;
  fs=200;
  f=1;
  ts=1/fs;
  t=-10:ts:10;
  i=1:2:N;
  x=sin(2*pi*f*i*t);
  </code></pre>
  
  <p>Is this correct ?</p>