필터 지우기
필터 지우기

How to solve Matrix that consists of a variable

조회 수: 21 (최근 30일)
KEDI YAN
KEDI YAN 2020년 7월 15일
댓글: Star Strider 2020년 7월 16일
I have a Matrix like below
In this matrix, only the Z23 and Z32 are unknown, and Z23 = Z32. I had mannuly solved it and got the equation shown below
I was wondering if MATLAB can help me do such a calculation?

채택된 답변

Star Strider
Star Strider 2020년 7월 15일
See if the linsolve function will do what you want.
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
KEDI YAN
KEDI YAN 2020년 7월 16일
Cool cool. This is exactly what I need! I appreciate it.
Star Strider
Star Strider 2020년 7월 16일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by