How to use Matlab to calculate the huge matrix?

%If a matrix is:A=rand(dim),where the dim=millions and millions.How to caculate the matrix like this?
dim=5e8;% or 5e9,5e10
A=rand(dim);
B=A*A; % the next are operating to the matrix

 Respuesta aceptada

James Tursa
James Tursa el 15 de Sept. de 2015
Editada: James Tursa el 15 de Sept. de 2015

0 votos

5e10 ... that's about 17 zetta bytes ... or 17 giga-tera bytes. This is WAY WAY beyond what you can expect with any computer. You need to re-structure your problem.

2 comentarios

Tan
Tan el 15 de Sept. de 2015
Have some methods to restructure a huge matrix(dim=1e8) to a lower one?
Walter Roberson
Walter Roberson el 15 de Sept. de 2015
What will you do with the B matrix once you have it?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Preguntada:

Tan
el 15 de Sept. de 2015

Comentada:

el 15 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by