<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Stéphane,<br>
<br>
I simplified and diversified the test:<br>
<br>
tic<br>
u = rand(100,1000)<br>
toc<br>
<br>
takes <br>
16 s in 6.1<br>
10 s in 6.0.2<br>
<br>
tic <br>
u = u(:)'<br>
toc<br>
<br>
takes <br>
66 s in 6.1<br>
1.29 s in 6.0.2<br>
<br>
tic<br>
u = u(:)<br>
toc<br>
<br>
takes <br>
107 s in 6.1<br>
1.52 s in 6.0.2<br>
<br>
</font>tic <br>
u = matrix(u,1000,100)<br>
toc<br>
<br>
takes <br>
16 s in 6.1<br>
10 s in 6.0.2<br>
<br>
tic<br>
u = matrix(u,100, 100, 10)<br>
toc<br>
<font face="Courier New"><br>
takes<br>
0.5 s in 6.1<br>
0.5 s in 6.0.2 <br>
<br>
Seems as if vertical (many line feeds) print took more time than
horizontal print.<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">On 31/03/2020 05:23, Stéphane Mottelet
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:acee425b-1f26-055e-dff6-7a1901c55b6d@utc.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi Frederico,</p>
<p>Thanks for reporting. Can you test if the regression also holds
for matrices ?</p>
<p>S.<br>
</p>
<div class="moz-cite-prefix">Le 30/03/2020 à 11:56, Federico
Miyara a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:ce8081bf-b87a-b914-33de-ef5632a7e110@fceia.unr.edu.ar"><font
face="Courier New"><br>
</font>
<pre style="font-family:Monospaced;font-style:normal;font-size:16.0;"><span style="color:rgb(0,0,0);">Fs</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,106,143);">44100</span>
<span style="color:rgb(0,0,0);">T</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,106,143);">2.5</span>
<span style="color:rgb(0,0,0);">t</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,106,143);">0</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(0,0,0);">T</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(0,0,0);">Fs</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(0,0,0);">Fs</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">ximp</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(50,185,185);">exp</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(92,92,92);">-</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(188,106,143);">0.3</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">.*</span><span style="color:rgb(50,185,185);">rand</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">normal</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span> <span style="color:rgb(92,92,92);">+</span> <span style="color:rgb(188,106,143);">0.004</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(50,185,185);">rand</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">normal</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(50,185,185);">tic</span>
<span style="color:rgb(0,0,0);">ximp</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(0,0,0);">ximp</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(50,185,185);">toc
</span>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet" moz-do-not-send="true">http://www.utc.fr/~mottelet</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>