BY Using MATLAB software: Exercise 3: Calculation of the parameters of a dipole. % M-File: ML0804 % % Perform numerical...

80.2K

Verified Solution

Question

Electrical Engineering

BY Using MATLAB software:

Exercise 3: Calculation of the parameters of adipole.

% M-File: ML0804

%

% Perform numerical integration to find

% beam solid angle, directivity, and the

% maximum power function for a given length

% dipole.

%

% Variables

% L dipole length (in wavelengths)

% bL2 phase constant * length/2

% N number of theta points

% th,thr angle theta in degrees,radians

% dth differential theta

% num,den temporary variables

% F un-normalized power function

% Fmax maximum power function (W/m^2)

% omegaP beam solid angle (sr)

% D Directivity

clc %clears the command window

clear %clears variables

% Initialize variables

L=1.5;

bL2=pi*L;

N=90;

% Perform calculations

i=1:1:N;

dth=pi/N;

th(i)=i*pi/N;

num(i)=cos(bL2.*cos(th(i)))-cos(bL2);

den(i)=sin(th(i));

F(i)=((num(i)).^2)./den(i);

Fmax=max(F);

Pn=F./Fmax;

omegaP=2*pi*dth*sum(Pn)

D=4*pi/omegaP

Fmax

Question 3: Run this program for differentchoices of the dipole length.

Answer & Explanation Solved by verified expert
3.6 Ratings (452 Votes)
Rewrite the MATLAB code by entering the input dipolelength MFile ML0804 Perform numerical integration to find beam solid angle directivity and    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students