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

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

The discussion revolves around using MATLAB to perform row reduction on a matrix derived from KVL equations. The user provided the matrix M, composed of complex numbers, and requested assistance due to issues with their MATLAB installation. The correct MATLAB command to achieve the reduced row echelon form (RREF) is rref(M), which was successfully executed by another user, yielding specific complex results. The final output included complex fractions and zeros, confirming the correct input format was essential for accurate results.

PREREQUISITES
  • Familiarity with MATLAB syntax and commands
  • Understanding of complex numbers and their representation in MATLAB
  • Knowledge of matrix operations, specifically row reduction techniques
  • Basic principles of Kirchhoff's Voltage Law (KVL) in circuit analysis
NEXT STEPS
  • Learn MATLAB's rref function for matrix operations
  • Explore complex number handling in MATLAB
  • Study advanced matrix manipulation techniques in MATLAB
  • Review Kirchhoff's laws and their applications in circuit analysis
USEFUL FOR

Students in electrical engineering, MATLAB users needing assistance with matrix operations, and anyone studying circuit analysis involving complex numbers.

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
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K