title: MATLAB if statement directly in function
body: <p>Hello everyone i'm asking a question quite stupid... Actually i'm trying to understand one's code and in a function definition, there's directly an if statement, so i'm quite confused of its meaning... thank you!</p>
  
  <pre><code>function [noiseuv]=Addnoise(uv,noise)
  if 0
  noiseuv = uv + ...;
  end
  if 1
  noiseuv = uv + noise*randn(siwe(uv));
  end
  end
  </code></pre>