S parameters calculating errors
显示 更早的评论
Hello everyone
i am using Antenna toolbox to calculate S parameters. The code line "s = sparameters (h, freq);" give errors:
Error using rectangularArray/meshGenerator (line 274) Intersection detected in specified geometry.
Error in em.MeshGeometry/updateMesh
Error in em.MeshGeometry/getMesh
Error in em.EmStructures/analyze
Error in em.Array/sparameters (line 48) status = analyze(obj,freq, 1:TotalArrayElements, ...
The code is here:
clear
freq = 2e9;
c = physconst('lightspeed');
lambda = c/freq;
h = rectangularArray('Size',[3 3], 'RowSpacing', [lambda/2 lambda/2],...
'ColumnSpacing', [lambda/2 lambda/2]);
layout(h)
s = sparameters (h, freq);
S = s.Parameters;
U = eye(9,9);
Z = (U+S)/(U-S);
Can you tell me what is the problem of it? One thing needs to be mentioned is that if the frequency chosen to be less than 1Ghz, there would be no error.
Thanks in advance
Xining Yu
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



