title: How to print carriage return in matlab?
body: <p>Simply using <code>\r</code> doesn't work as it is handled as a new line: </p>
  
  <pre><code>&gt;&gt; fprintf('a\rb');
  a
  b&gt;&gt; 
  </code></pre>
  
  <p>So what is the correct way of printing a carriage return so I can update information without gathering a whole of junk on the screen. </p>