How Does Matrix Division Work in Matlab?

  • Context: MATLAB 
  • Thread starter Thread starter rootX
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary
SUMMARY

The discussion focuses on matrix division in MATLAB, specifically using the right division operator (/) with a 3x3 matrix A1 and a vector V. The operation A1/V computes the solution to the equation A1*X = V, effectively yielding the result of -0.0000, 1.1429, and 0.0714. This operation is equivalent to multiplying the inverse of A1 by V, as detailed in the MATLAB documentation for the mrdivide function.

PREREQUISITES
  • Understanding of MATLAB syntax and operations
  • Familiarity with matrix algebra concepts
  • Knowledge of matrix inversion and its implications
  • Basic understanding of linear equations
NEXT STEPS
  • Review the MATLAB documentation for the mrdivide function
  • Learn about matrix inversion in MATLAB using the inv() function
  • Explore the implications of using left division (A\B) in MATLAB
  • Study practical applications of matrix division in solving linear systems
USEFUL FOR

Students, engineers, and researchers working with MATLAB who need to solve linear equations or perform matrix operations efficiently.

rootX
Messages
480
Reaction score
4
>> A1

A1 =

4 1 -2
5 1 3
4 0 -1

>> V

V =

1 2 3

>> A1/V

ans =

-0.0000
1.1429
0.0714

>>

Question: what did it do?
A1 is a 3x3 matrix
 
Physics news on Phys.org
From the documentation:

/: Slash or matrix right division. B/A is roughly the same as B*inv(A). More precisely, B/A = (A'\B')'. See the reference page for mrdivide for more information.

- Warren
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
7
Views
2K