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

1 次查看(过去 30 天)
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 个评论
Marc
Marc 2013-12-1
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.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by