Answer not Matching (Solution of Linear Equation)

Question is attached below, my answear is not matching in both methods (Inverse matrix multiplication and backsalsh operator)

Answers (1)

k\f, not f\k.

5 Comments

I mean, equation says K*d = f , mathematically it should be d = f/k ! or I am doing something wrong ?
You're doing something wrong. It's what I said before, k\f. Try it.
I know, I tried that. Answear also comes in. But my question to you is, doesn't it makes more sense when we say k*d = f, d = f/k (Mathematically) ? or Does MATAB function differently ?
No. f/k = f*inv(k). k\f= inv(k)*f. You want the latter. You originally had f\k, which is like inv(f)*k, except that doesn't even make sense at all.
Alright ! Thanks for the help though !

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!