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

조회 수: 2 (최근 30일)
Marc
Marc 2013년 12월 1일
댓글: Marc 2013년 12월 1일
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