title: Rounding up to the nearest tenth
body: <p>I am trying to round up the <code>cx_n</code> to its nearest number if the <code>cx_n</code> value doesn't match with <code>yt</code>. With the code below, I can round up but it goes all the way to 1. For example,
  one of the <code>cx_n</code> values is 0.58, I want to round up 0.6, not 1.0. How can I accomplish this?</p>
  <p>This is my MATLAB Code:</p>
  <pre><code>Fn = 3; %Nyquist Frequency
  Fnr = 6; %Nyquist Rate
  Fs = Fnr*5; %Sampling frequency
  Ts = 1 / Fs; %Sampling period
  T = 1 / 3; 
  N = T / Ts; %Number of samples per period
  start = 0;
  stop =N-1;
  c_increment = 1;
  c_n = start:c_increment:stop;
  c_nTs = c_n*Ts;
  cx_n = sin(2*pi*3*c_nTs);
  for m_d = 1:length(cx_n)
      for quantisation = 1:length(yt)
          if (m_d ~= quantisation )
              p = round(cx_n);
              stem(c_nTs, p);
          end
          
      end
  end
  </code></pre>