Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Replies: 2   Last Post: Aug 28, 2013 12:48 AM

 Messages: [ Previous | Next ]
 Sebnem Posts: 2 Registered: 5/25/08
Posted: Oct 18, 2010 2:27 AM

I might be too late but what you do is correct. Just plot the absolute and normalized value of f1 like:

theta=0:0.01*pi:2*pi;
f1=cos((pi/2)*cos(theta))./(sin(theta)+eps);
polar(theta,abs(f1)./max(f1))

Hope this helps...

"andrew yap " <andrew.c2g@hotmail.com> wrote in message <hcjg9n\$8ho\$1@fred.mathworks.com>...
> can anyone help me with this ? if kindly please give me solution for this. thank you so much. here is the matlab code i have written . it is a half wave dipole equation . and i tried to do it in matlab but the radiation pattern is wrong. instead.
>
> theta=0:0.01*pi:2*pi;
> f1=cos((pi/2)*cos(theta))./(sin(theta)+eps);
> polar(theta,f1)
>
> thanks

Date Subject Author
11/1/09 andrew yap
10/18/10 Sebnem
8/28/13 Ashishkumar Mohanlal Patel