The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Could someone help optimize this for Mathematica 9?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
McHale, Paul

Posts: 60
Registered: 5/29/11
Could someone help optimize this for Mathematica 9?
Posted: Dec 4, 2012 4:09 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

We have a strong need to view large numbers of data points. Mathematica 8 was excellent at this. The following code executed under both 8 and 9 (Windows):

Mathematica 8: Less than 0.5 seconds
Mathematica 9: Greater than 4 seconds

m=Table[{t/mNumberSamples ,Sin[t/mNumberSamples mFrequency*2 \[Pi]]}*1.0,{t,1,mNumberSamples}];mStartTime=SessionTime[];
StringForm["Elapsed time = ``", N[mStopTime-mStartTime]]

I have tried the code on a slower mac laptop (version 9 only) and had the same slower results. Any input welcome as this functionality is extremely important to us.

Paul McHale | Electrical Engineer, Energetics Systems | Excelitas Technologies Corp.

Phone: +1 937.865.3004 | Fax: +1 937.865.5170 | Mobile: +1 937.371.2828
1100 Vanguard Blvd, Miamisburg, Ohio 45342-0312 USA

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.