⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s2y.m

📁 mimo系统的matlab仿真程序
💻 M
字号:
%MATLAB function s2y.m converts a network's generalized 
%scattering matrix, S, into the appertaining admittance
%matrix, Y.
%The function is called up by Y = s2y(Z0, S). It needs
%as its input arguments not only the elements of an
%S matrix, but also those of a normalizing reference
%impedance matrix, Z0.
%Z0 is a diagonal matrix whose elements are either
%real-valued (e.g., all diagonal elements
%are Z0 = 50 ohms) or complex-valued, i.e., with 
%a capacitive or inductive reactance term.

function[Y] = s2y(Z0, S)

D0= inv(sqrtm(Z0));
U = diag(ones(length(Z0),1));
Y = sqrtm(Z0)*inv(conj(Z0)+(S*Z0))*(U-S)*D0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -