title: how to printf variable values alternatively?
body: <p>Here is what I want to do :</p>
  
  <p>I have array</p>
  
  <pre><code>A = [0,1,2]
  </code></pre>
  
  <p>and array</p>
  
  <pre><code>B = [9,-1,97]
  </code></pre>
  
  <p>I want to do a fprintf to print value as following</p>
  
  <pre><code>0 9
  1 -1
  2 97
  </code></pre>
  
  <p>So far I have</p>
  
  <pre><code>formatSpec = '%.i %8.3f0\n';
  fprintf(formatSpec,A,B)
  </code></pre>
  
  <p>but of course it first print A then B instead of: one value of A, one value of B, new line, one value of A... :</p>
  
  <pre><code>0 1
  2 9
  -1 97
  </code></pre>