radiation pattern of horn antenna

6 views (last 30 days)
khaled whi
khaled whi on 26 Nov 2019
Commented: khaled whi on 26 Nov 2019
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 Comments
David Goodmanson
David Goodmanson on 26 Nov 2019
Hi khaled, first thing is, R0 needs to be squared in your function
khaled whi
khaled whi on 26 Nov 2019
thanks for your answer David
indeed, R0 needs to be squared

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!