A question on linear algebra(also Matlab related)

  • Context: MATLAB 
  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    Linear Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
mech-eng
Messages
826
Reaction score
13
Hi, Can someone explain me the division operation in the picture. First for left division we use (.\ ) not only ( \ ) And it is strange that when we divide first column of A by first column of B( here first column of B is 44) how can we find -5.1250 ?
 

Attachments

  • a question on linear algebra.png
    a question on linear algebra.png
    11.3 KB · Views: 553
Last edited:
Physics news on Phys.org
That just happens to be what MATLAB calls the method that solves the linear system. A person could also write it as mldivide(A,b). Also, in MATLAB A.\B nd A\B are equivalent statements. Try it out.
 
That's NOT standard notation. If Ax= b (and A is invertible) then [itex]x= A^{-1}b[/itex]. if xA= b then [itex]x= bA^{-1}[/itex]. Because standard division (a/b) does not distinguish between "divide on the left" and "divide on the right" we don't normally use that notation.

That particular author (and possibly math lab- I don't use it) is using a special notation to distinguish between "division on the left" ([itex]A^{-1}b[/itex]) and "division on the right" ([itex]bA^{-1}[/itex]).