Answer not Matching (Solution of Linear Equation)

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

Answers (1)

Dana
Dana on 4 Sep 2020
k\f, not f\k.
  5 Comments
Dana
Dana on 4 Sep 2020
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.

Sign in to comment.

Categories

Find more on Operating on Diagonal Matrices 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!