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

  • MATLAB
  • Thread starter trickae
  • Start date
  • Tags
    Matlab Row
In summary, the conversation discusses the use of several KVL equations to solve a problem involving complex numbers. The solution involves typing the relevant equations into MATLAB and using the rref function to obtain the final answer. However, there may be some last minute work to finish and the MATLAB program may need to be checked for accuracy.
  • #1
trickae
83
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
  • #2
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
 
  • #3


Sure, I can plug this into MATLAB for you. The result of the row reduction is:

1.0000 + 0.0000i 0.0000 + 0.0000i -0.0000 + 0.0000i 3.0000 + 2.0000i
0.0000 + 0.0000i 1.0000 + 0.0000i 0.0000 + 0.0000i 1.5000 + 2.0000i
0.0000 + 0.0000i 0.0000 + 0.0000i 1.0000 + 0.0000i 1.0000 + 1.0000i
 

What is MATLAB?

MATLAB is a high-level programming language used for mathematical computations, data analysis, and visualization. It is widely used in various scientific fields such as engineering, physics, and economics.

How can I access MATLAB?

You can access MATLAB through a license purchased by your institution or by purchasing a personal license. It is also available for free through some online platforms, but with limited features.

What is row reduction in MATLAB?

Row reduction is a mathematical operation used to simplify a matrix by transforming it into its reduced row echelon form. In MATLAB, this can be done using the "rref" function.

How do I perform row reduction in MATLAB?

To perform row reduction in MATLAB, you can use the "rref" function, followed by the matrix you want to reduce. For example, if your matrix is called A, you can use the command "rref(A)" to obtain the reduced row echelon form of A.

Is there any other way to perform row reduction in MATLAB?

Yes, there are other functions in MATLAB that can be used to perform row reduction, such as the "ref" function, which gives the row echelon form of a matrix. However, the "rref" function is preferred as it gives the reduced row echelon form, which is the most simplified form of a matrix.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
983
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
737
Back
Top