recreating coupler responce plot numercly question

1 回表示 (過去 30 日間)
fima v
fima v 2023 年 7 月 9 日
回答済み: Divyam 2023 年 7 月 10 日
Hello,There are tables as shown bellow. each number is the even impedance coefficient for example for z1:
Z1_even=1.0183450=50.917 50=sqrt(Z1_oddZ1_even)
Z1_even=49.0995
I know that its similar to a filter responce.
is there a way maybe in matlab i could actually see this responce in a frequency plot? \

回答 (1 件)

Divyam
Divyam 2023 年 7 月 10 日
Hi @fima v,
Your question is not very clear, the equations are not well formatted but if all you want to know is a way to plot impedance vs frequency values then you can do that using the MALTAB code below.
% Frequency range
frequencies = linspace(0, 1000, 1000); % Modify the range as needed
% Define the Z1 vector (The result you wrote is not very clear so I am leaving this part to you)
%Code for plotting
figure;
plot(frequencies, abs(Z1), 'b', 'LineWidth', 1.5);
xlabel('Frequency');
ylabel('Impedance Magnitude');
legend('Z1');
title('Even Impedance Response');
grid on; %You can switch this off too
You can define more impedance vectors and add them to the existing plot using the "hold on" plot setting.
You can read more about plotting a 2-D line in MATLAB using this link: 2-D line plot - MATLAB plot - MathWorks India

Community Treasure Hunt

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

Start Hunting!

Translated by