summaryrefslogtreecommitdiff
path: root/2579/CH3/EX3.16/Ex3_16.txt
blob: 7cb866e71e2370a6a2216fc8d5d622c6e2d3d2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex:3.16
clc;
clear;
close;
n=10;// number of isotropic elements
// d=y/4
// Do=2n*(d/y)
// Do=2n*(y/4y)=2n(1/4)
Do=2*n*(1/4);
D0=10*log(Do)/log(10);// Directivity in db
printf("the Directivity = %f dB", D0);