Borrar filtros
Borrar filtros

Symbolic toolbox speed comparisons on 2010a versus 2012b for Mac OS?

1 visualización (últimos 30 días)
Marc
Marc el 1 de Dic. de 2013
Comentada: Marc el 1 de Dic. de 2013
On my Macbook Pro, late 2012 (non-retina) model, Mac OS Ver 10.8.5, 2.6 ghz i7, 8gb ram, I found that the symbolic toolbox may be slightly faster for 2010a than 2012b which I thought was odd since 2010a uses X11. Unfortunately, I do not have the symbolic toolbox for my Windows licenses so I could not compare on my work PC. Anybody else see this?
On 2010a:
tic, dsolve('x*Dy-y=1', 'x'), toc
ans =
C2*x - 1
Elapsed time is 0.011423 seconds.
On 2012b:
tic, dsolve('x*Dy-y=1', 'x'), toc
ans =
C2*x - 1
Elapsed time is 0.022434 seconds.
  1 comentario
Marc
Marc el 1 de Dic. de 2013
And yet, with 'solve', these two versions appear equivalent.
2010a:
tic, [x,y]=solve('x^2+y^2=4','(x-1)^2+(y-1)^2=1'), toc
x =
7^(1/2)/4 + 5/4
5/4 - 7^(1/2)/4
y =
5/4 - 7^(1/2)/4
7^(1/2)/4 + 5/4
Elapsed time is 0.065465 seconds.
2012b:
tic, [x,y]=solve('x^2+y^2=4','(x-1)^2+(y-1)^2=1'), toc
x =
7^(1/2)/4 + 5/4
5/4 - 7^(1/2)/4
y =
5/4 - 7^(1/2)/4
7^(1/2)/4 + 5/4
Elapsed time is 0.066874 seconds.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by