The size of largest matrix that can be inverted
이전 댓글 표시
Hi all,
What is the size of the largest square matrix that can be inverted in MATLAB.
Thanks in advance. V
답변 (2개)
Sean de Wolski
2012년 1월 3일
0 개 추천
With a 64 bit machine and a lot of RAM, it can be pretty big. Fortunately, you almost never have to take it. Please read Loren's Blog and the comments associated with ti:
the cyclist
2012년 1월 3일
0 개 추천
The answer to this question is platform and MATLAB version dependent. I think this is going to largely depend on the largest array you can store. You can get some guidance on maximum array size here: http://www.mathworks.com/support/tech-notes/1100/1110.html
I have 64-bit MATLAB 2011b running on a Mac, with 8 GB of RAM, and it inverted a 10,000x10,000 in about 2 minutes.
You should ask yourself whether you really need to do the matrix inversion or not. Very frequently, you can avoid taking the inverse, in favor of some less-intensive computation.
댓글 수: 3
Ingo
2012년 1월 3일
May I ask how much RAM your computer got? Mine has 4GB and that seems not to be nearly enough to even store a 6.000-by-6.000 (full, nonsparse) matrix.
the cyclist
2012년 1월 3일
Edited my answer to address Ingo's comment.
Ingo
2012년 1월 3일
Thanks!
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!