<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      Le 23/04/2017 à 23:15, <a class="moz-txt-link-abbreviated" href="mailto:paul.carrico@free.fr">paul.carrico@free.fr</a> a écrit :<br>
    </div>
    <blockquote cite="mid:df1e820ef414c2bfb2b287c51e2c74d7@free.fr"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="pre" style="margin: 0; padding: 0; font-family:
        monospace">Thanks for your answer</div>
      <div class="pre" style="margin: 0; padding: 0; font-family:
        monospace"> </div>
      <div class="pre" style="margin: 0; padding: 0; font-family:
        monospace">I found another way ... not necessarily better than
        your one and probably more costly :-(</div>
    </blockquote>
    <br>
    You may do simply:<br>
    B = A(:, [1 4]).';<br>
    B = B(:);<br>
    B = [B zeros(B)]<br>
    <br>
    Samuel<br>
    <br>
  </body>
</html>