MATLAB Answers

Ano
0

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

Asked by Ano
on 22 Nov 2019 at 12:13
Latest activity Commented on by Ano
on 22 Nov 2019 at 14:21
Accepted Answer by ME
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!

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by ME
on 22 Nov 2019 at 12:58
 Accepted Answer

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.

  3 Comments

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 ?
ME
on 22 Nov 2019 at 14:10
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!

Sign in to comment.