Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.2K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Speed Mathematica up for doing analysis and plotting with large arrays

Posted 9 months ago

I'm doing analysis and plotting with very large arrays. Mathematica is getting bogged down. Matlab doesn't seem to have this problem or at least not to this degree. What can I do, if anything, go help speed Mathematica up?
Thanks.

POSTED BY: Roger Backhus
3 Replies
Posted 9 months ago

Thanks. I'll check this out. For now I ended up plotting just a piece of the data. That helped a lot.

POSTED BY: Roger Backhus
Posted 9 months ago
POSTED BY: Gustavo Delfino

For computation: Use packed arrays. Keep them packed.

For plotting: I'm not sure. ArrayPlot[] in the following runs in about in 0.7-0.8 sec; MatrixPlot[] in 5-6 sec.

ArrayPlot[RandomReal[1, {5000, 10000}]]
MatrixPlot[RandomReal[1, {5000, 10000}]]

It's possible that your actual code is not as efficient as it could be. But how could anyone tell that without knowing what the code is?

POSTED BY: Michael Rogers
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard