block matrix multiplication for solving large linear equation systems

1 visualización (últimos 30 días)
Analyst
Analyst el 10 de Ag. de 2015
Comentada: Nick Hobbs el 12 de Ag. de 2015
hello all
i am working with a huge matrix and trying to do matrix computations in blocks.
i am trying to derive a matrix from my original matrix and then i want to multiply the new matrix with my original matrix and store it in another matrix.
i start out by first generating my original matrix using a function in matlab and then use that matrix to get the new matrix. however as my matrices are big, i have to do block multiplication.
however i cannot figure out how to calculate all the blocks.
i use 2 for loops but the code only generates the block multiplication data for the first column ad the code ends
i tried to implement the code for a smaller part of the data(5blocks*5blocks) which if successful i could implement for the whole data(48*48), but it did not work. --- each block is a 1000*1000 matrix in itself ---
please suggest something
  5 comentarios
Analyst
Analyst el 11 de Ag. de 2015
No i cannot generate the complete matrix at once.
Nick Hobbs
Nick Hobbs el 12 de Ag. de 2015
I understand that you want to multiply two large matrices in MATLAB. Have you considered using the function matfile. The documentation for 'matfile' says that you can write and read from a MAT-file without loading the entire variable into memory. You could then save each of your two matrices as MAT-files, and then solve for each entry in your final matrix and save it directly into a final MAT-file as you solve for the values.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Math Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by