How to solve Matrix that consists of a variable
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
KEDI YAN
am 15 Jul. 2020
Kommentiert: Star Strider
am 16 Jul. 2020
I have a Matrix like below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/332312/image.jpeg)
In this matrix, only the Z23 and Z32 are unknown, and Z23 = Z32. I had mannuly solved it and got the equation shown below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/332315/image.jpeg)
I was wondering if MATLAB can help me do such a calculation?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 15 Jul. 2020
syms Vs
Iv = sym('I',[4 1]);
Zm = sym('Z', [4 4]);
Zm(1,[3 4]) = 0;
Zm(2,4) = 0;
Zm(3,1) = 0;
Zm(4,[1 2]) = 0;
Vv = [Vs; 0;0;0];
RHS = Zm*Iv;
S = linsolve(Zm, Vv)
.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Assumptions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!