Adding RAM would it speed up the computations done by Matlab?

Hello,
I would like to know if adding RAM would affect the speed at which the computations are performed by Matlab. worth noting that I had 8 GB and I upgraded it to 16 GB, would it make any difference or the difference would be notable only for large matrices.
More specifically, I would like to know if I use tic toc functions with this configuration (16GB of RAM) should I expect a large difference with respect to the old RAm (8 GB).
Thank you very much for any hint.
Best regards!

 Réponse acceptée

ME
ME le 22 Nov 2019
Increasing your RAM will only really be beneficial for operations on large matrices. If you are struggling with the speed of a script that doesn't have any large matrices then your issue is more likely to be your processor.

5 commentaires

Thank you very much for your reply, I apreciate it.
Let say my matrices are of size (900 , 900 , 100) can I consider it large or not ?
It is reasonably big but I just created a random matrix of this size and it saves as ~600MB on disk (which may or not be a good approximation for how it is saved in RAM). At that type of size it will depend what else you are storing and using at the same time. If you are simply dealing with that one matrix then I don't think you'll have any issue. But if you start trying to handle multiple of these at the same time then you may begin to run into some issues.
Thank you!
For example, if im working with excel files and matrices that are 125509x40 in size and running them through for loops and other computations, Increasing my ram would help right ?
125509*40 is about 80 megabytes. If you had 8 gigabytes you could have 100 of those. You probably do not need to have more memory for that.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by