radiation pattern of horn antenna

4 次查看(过去 30 天)
khaled whi
khaled whi 2019-11-26
评论: khaled whi 2019-11-26
hi everybody
i am trying to do this integral in matlab please can anyone help me with that
this is the code that i did and it seems working but i am not getting a good result
thanks
x = linspace(-A/2,A/2,numberMultipathComponent);
fun= @(x) (cos((pi.*x)./A) .* exp(-j*k*(sqrt(R0+(x.^2))-(x.*sin(thetarad)))));
fethetahor = integral(fun,(-A/2),(A/2),'ArrayValued',1);
  2 个评论
David Goodmanson
David Goodmanson 2019-11-26
Hi khaled, first thing is, R0 needs to be squared in your function
khaled whi
khaled whi 2019-11-26
thanks for your answer David
indeed, R0 needs to be squared

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by