block matrix multiplication for solving large linear equation systems

2 views (last 30 days)
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 Comments
Nick Hobbs
Nick Hobbs on 12 Aug 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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!