From: Gavin on
Assuming that I have optimized my code for memory usage, and I have a fairly well balanced hardware loadout, would increasing my RAM alone be likely to increase the speed of MATLAB program runtimes? or is CPU more of the bottleneck almost no matter what?
From: Jan Simon on
Dear Gavin!

> Assuming that I have optimized my code for memory usage, and I have a fairly well balanced hardware loadout, would increasing my RAM alone be likely to increase the speed of MATLAB program runtimes? or is CPU more of the bottleneck almost no matter what?

It depends.
What do "optimized for memory usage" mean? The usage of memory matching in the processor level 1 cache (or level 2 or 3) is much faster than just processing linear parts of the memory.
The best hint for the need of RAM is swapping of virtual memory to the hard disk.

Kind regards, Jan
From: Mark Shore on
> The best hint for the need of RAM is swapping of virtual memory to the hard disk.
>
> Kind regards, Jan

The main hints MATLAB gives me for more RAM are out of memory errors...
From: Rune Allnor on
On 6 Feb, 23:36, "Gavin " <gavje...(a)gmail.com> wrote:
> Assuming that I have optimized my code for memory usage, and I have a fairly well balanced hardware loadout, would increasing my RAM alone be likely to increase the speed of MATLAB program runtimes?  or is CPU more of the bottleneck almost no matter what?

Matlab is a beast that is horribly inefficient on both accounts.
If you are into heav-duty work, foerget matlab and use one of
the compiled languages.

Rune