Help in Sloving S-Matrix
Afficher commentaires plus anciens
I have uploaded the matlab file. Please help me in solving the matrix
clc
clear all
close all
clearvars
%%% S Parameters Calculation
%% Input Parameters
L_R = 2.5e-9; % Inductance (H/m)
L_L = 2.5e-9; % Inductance (H/m)
C_R = 1e-12; % Capacitance (F/m)
C_L = 1e-12; % Capacitance (F/m)
R = 10e-4; % Resistance (Ohm/m)
G = 10e-4; % Resistance (Ohm/m)
Z_C = 50 % Transmission line Inductance (ohm)
f = 0.1e9:0.1e9:10e9; % Frequency in Hertz
w = 2*pi.*f; % Angular Frequency (rad/s)
Z = R + 1i*((w.*L_R)-(1./(w.*C_L))) % Impendance
Y = G + 1i*((w.*C_R)-(1./(w.*L_L))) % Ampendance
A = 1 + ((Z.*Y)./2);
B = Z.*(1+(Z.*Y)./2);
C = Y;
D = 1 + ((Z.*Y)./4);
M = [A B; C D];
Here, I need help to calculate the following matrices
Where, N = 10, 20, 30

Later, I need to calculate the S - Matrix

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!