Hello,
I have a workbook calculating angles between satellites. Its pretty simple; some functions, some linear algebra. It should be perfect for Mathematica.
The entire set of calculations executes really fast. But, when I try to pull the data out of an array to try to plot it, the computer spends ~18 hours to plot 2500 points, without finishing. I aborted the execution and came here.
Its not a memory problem, the memory usage stays fine. And again, the calculation cells complete quickly. Its just the indexing and assembling data for the ListPlot function that is insanely slow. Somehow, I must be asking Mathematica to run though a LinkedList type structure, and I’m getting some huge O(N!) behavior, or something. But, it doesn’t make sense! Indexing should simple!
Please tell me how to get Mathematcia to ListPlot the xPlot and yPlot variables in the linked workbook, [1]. I really like the way I am able to describe the operations to Mathematica. I am in fact using Mathematica to check some MATLAB I wrote. MATLAB runs fast, and has no problems with indexing, but the MATLAB code isn’t as easy to look at and I think there may be a mistake in it. Mathematica is beautiful, and has no loops, preallocation, or ‘programming’ structure to trip over (just a unique syntax), but seems very ill suited to even a moderate amount of data.
Regards,
Andrew
[1] - https://docs.google.com/file/d/0B8DYPdWIOdpyRjBDcmdCakE1aDA/edit?usp=sharing



