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
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.
Afluo Raoual
Afluo Raoual 2024-11-8,14:33
Hi I need a general code that can calculate V1 and V2 for any values of Z Also for V1 and I1 for any values of A, B, C and D

请先登录,再进行评论。

采纳的回答

Shashi Kiran
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);
V1 = 32.50 V2 = 26.00
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:
  1. Matrix operations : https://www.mathworks.com/help/matlab/math/basic-matrix-operations.html
  2. 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 个评论
Afluo Raoual
Afluo Raoual 2024-11-23,2:31
Unfortunately, that's not what I exactly need.
As I mentioned before, I aim to obtain Z from V and I when I is conditionned as follows:

请先登录,再进行评论。

更多回答(1 个)

Sumukh
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.
  1 个评论
Afluo Raoual
Afluo Raoual 2024-11-8,10:39
Thank you. I'm aware about these information, but as I mentioned, I want only the method of programming theses matrices on MATLAB

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by