the inversion of large impedance matrix in MOM

Hi all
I try to analyse a structure using method of moment which produces large dense squared impedance matrix. when I try to solve the matrix equation A*X=B, the inversion procedure takes more than 4GB RAMs.Is there any idea to solve this matrix equation in reasonable time with less RAMs?

6 comentarios

Walter Roberson
Walter Roberson el 14 de Sept. de 2015
How are you solving A*X=B ?
rahman
rahman el 14 de Sept. de 2015
X = (A^-1)*B !!!
Walter Roberson
Walter Roberson el 14 de Sept. de 2015
Use X = A \ B; instead.
rahman
rahman el 14 de Sept. de 2015
Editada: rahman el 14 de Sept. de 2015
I try it. But unfortunately nothing changed. It used same amount of RAMs! Is there any programming or mathematical techniques?
Steven Lord
Steven Lord el 14 de Sept. de 2015
How large is your "large dense" matrix?
Are you using a 32-bit or 64-bit version of MATLAB?
Can you easily compute A*x for a vector x without explicitly creating the matrix A? If so, use one of the iterative solvers like GMRES.
rahman
rahman el 16 de Sept. de 2015
Tnx Steven Lord, GMRES is a good idea. It reduced about 2GB RAMs.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Sept. de 2015

0 votos

2 comentarios

rahman
rahman el 14 de Sept. de 2015
I try it but it takes more time with same RAMs!
Walter Roberson
Walter Roberson el 14 de Sept. de 2015
Then the answer to your original question is NO. Install more RAM if the current size is a problem.

Iniciar sesión para comentar.

Categorías

Más información sobre Sparse Matrices en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Sept. de 2015

Comentada:

el 16 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