Impedance, admittance and ABCD matrices
조회 수: 91 (최근 30일)
이전 댓글 표시
Dear, please I'm looking for a MATLAB code that can calculate the parameters of the impedance Z and admittance Y matrices.Also the parameters of the ABCD matrix as described in the following schemes and equations
댓글 수: 2
Shashi Kiran
2024년 11월 8일 11:50
Could you please let me know which values you currently have? Specifically, do you have the measurements of and when and ?
I would appreciate any additional information you can provide to help with the calculations.
채택된 답변
Shashi Kiran
2024년 11월 8일 19:26
To compute V1 and V2 using given Z-parameters, we can employ matrix multiplication in MATLAB.
Here is a concise code example for calculating V1 and V2 using the impedance matrix Z and currents I1 and I2:
% Define the impedance matrix [Z]
Z11 = 5;
Z12 = 2.5;
Z21 = 4;
Z22 = 2;
Z = [Z11, Z12; Z21, Z22];
% Define currents I1 and I2
I1 = 5;
I2 = 3;
I = [I1; I2];
% Calculate V1 and V2 using V = Z * I
V = Z * I;
V1 = V(1);
V2 = V(2);
fprintf('V1 = %.2f\n', V1);fprintf('V2 = %.2f\n', V2);
Similarly, you can follow the same matrix multiplication approach to calculate values when using ABCD or Y parameters.
For additional details on matrix operations and MATLAB fundamentals, please refer to:
- Matrix operations : https://www.mathworks.com/help/matlab/math/basic-matrix-operations.html
- MATLAB onramp : https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted
Hope this helps.
Let me know if there is anything more I can assist you with!
추가 답변 (1개)
Sumukh
2024년 11월 8일 9:44
The images provided are two-port networks. Kindly refer to the following external resource to understand more about impedance and admittance matrix as well as ABCD parameters of a two-port network:
Information on the voltage and current values of the two-port networks at open-circuit and short-circuit stages is necessary to first compute the impedance/admittance matrix values. The impedance matrix Z and admittance matrix Y are inverse to each other. One matrix can be formed from another by matrix inversion. The ABCD parameters can be obtained from either the impedance or admittance matrix values as explained in the above documentation. You can refer to the following documentation to learn more about matrix operations in MATLAB:
I hope this helps with writing the code.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!