Matrix multiplication error

I am experiencing a strage error in matlab. I have matrix A and a vector x. I expect that if I perform the following operations, C should equal zero but it does not.
B = A*x;
C = A\B-x;
In fact C is is a vector composed of the same constant. What could possibly cause this in matlab?

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 5월 16일
This appear to be the same as http://www.mathworks.com/matlabcentral/answers/38567-reversible-matrix-operation

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

질문:

2012년 5월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by