Stéphane,

I simplified and diversified the test:

tic
u = rand(100,1000)
toc

takes
16 s in 6.1
10 s in 6.0.2

tic
u = u(:)'
toc

takes
66 s in 6.1
1.29 s in 6.0.2

tic
u = u(:)
toc

takes
107 s in 6.1
1.52 s in 6.0.2

tic
u = matrix(u,1000,100)
toc

takes
16 s in 6.1
10 s in 6.0.2

tic
u = matrix(u,100, 100, 10)
toc

takes
0.5 s in 6.1
0.5 s in 6.0.2

Seems as if vertical (many line feeds) print took more time than horizontal print.

Regards,

Federico Miyara



On 31/03/2020 05:23, Stéphane Mottelet wrote:

Hi Frederico,

Thanks for reporting. Can you test if the regression also holds for matrices ?

S.

Le 30/03/2020 à 11:56, Federico Miyara a écrit :

Fs  =  44100
T  =  2.5
t  =  [0:T*Fs]/Fs;
ximp  =  exp(-t/0.3).*rand(t,"normal")  +  0.004*rand(t,"normal");

tic
ximp  =  ximp(:)
toc
--
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
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to