- #1
Huibert
- 6
- 0
I tried to invert a non-symmetrical tri-diagonal matrix 'ML' in Matlab, and multiply it with matrix 'MR': y = inv(ML)*MR.
size(ML) = 1001 x 1001
Below the end of the matrix is shown, to give an idea of the magnitude of the values:
Calculating inv(ML) results in a 1001x1001 matrix with values NaN.
So I tried (ML)\(MR), but that gives error: "Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN."
Inverting a almost similar symmetrical tri-diagonal matrix is no problem.
So is it possible to do this inversion?
I would be really grateful with some help!
Huibert
size(ML) = 1001 x 1001
Below the end of the matrix is shown, to give an idea of the magnitude of the values:
Code:
-0.0096 1.0192 -0.0096 0 0
0 -0.0096 1.0192 -0.0096 0
0 0 -0.0096 1.0192 -0.0096
0 0 0 0 1.0000
Calculating inv(ML) results in a 1001x1001 matrix with values NaN.
So I tried (ML)\(MR), but that gives error: "Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN."
Inverting a almost similar symmetrical tri-diagonal matrix is no problem.
So is it possible to do this inversion?
I would be really grateful with some help!
Huibert