MATLAB Quick does someone have access to matlab? need quick row reduce.

  • Thread starter Thread starter trickae
  • Start date Start date
  • Tags Tags
    Matlab Row
AI Thread Summary
The discussion revolves around solving a system of equations using MATLAB, specifically applying the Reduced Row Echelon Form (RREF) method. The user has provided a matrix setup with complex numbers and is experiencing issues with MATLAB while trying to finalize their work. Another participant assists by confirming the correct entry of the matrices A and B into MATLAB, noting the need to include multiplication symbols for proper syntax. The output of the RREF operation is shared, indicating the results of the calculations. The focus remains on troubleshooting MATLAB usage and ensuring the equations are correctly formatted for successful computation.
trickae
Messages
82
Reaction score
0

Homework Statement



several KVL equations combined I got till here
Code:
[   3+2i       -1-(5/2)i       0    ] [I1]  [   10              ]
| -1-5/2        3+3i        -2+3i   | [I2]  |    0              |  
[    0           -2          2-5i   ] [I3]  [ -3.5355 - j3.5355 ]
where the

Homework Equations


A = [3+2i , -1-(5/2)i , 0 ];
B = [10, 0 , -3.5355 - j3.5355];
M = [A,B];
rref(M)

The Attempt at a Solution



the relevant equations need to be typed into MATLAB - i have some last minute work to finish and now my MATLAB is acting up. Can anyone just plug this into matlab?

A = [3+2i , -1-(5/2)i , 0 ];
B = [10, 0 , -3.5355 - j3.5355];
M = [A,B];
rref(M)
 
Last edited:
Physics news on Phys.org
ans =

Columns 1 through 3

1 + * -8/13 - 11/26i 0

Columns 4 through 6

30/13 - 20/13i 0 -1130/831 - 226/831i

If I entered it correctly
I had to go in and enter the * into your A and B
Let me know if that helps
CC
 
Back
Top