Fast imaginary matrix inversion

Hello everybody, in the script I´m developing I have to deal with the inversion of an imaginary square matrix which dimensions are in the order of 10e3x10e3, therefore it is very huge. Although the inversion is performed with the "\" function, from the timing report I noticed that it is extremely time consuming, expecially considering that it is running in a for loop which lasts 10 iterations. The matrix to be inverted is Z = (R+jwL) where R is a diagonal matrix, L is a symmetric matrix, j is the imaginary unit and w is the the frequency (which change with each iteration). I need to speed up the script, therefore could anyone suggest me a way to speed up and/or simplify this inversion?
Thank you in advance!

댓글 수: 1

As R is diagonal and L is a symmetric matrix. Assuming the inverse to be (A + jB) and equating Z*(A + jB) to an identity matrix. Will give:
B = -inv(R)*(wL)*A
A = inv(R-(wL)*inv(R)*(wL))
Hope this simplifies the inverse.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

질문:

2018년 1월 13일

댓글:

2018년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by