1 | clear all; close all; clc |
---|
2 | %inductive grating |
---|
3 | %phys. const |
---|
4 | c=299792458;%speed of light, m/s |
---|
5 | sigma=1.45e+6*1e-7*c*c;%stainless steel conductivity, [s] |
---|
6 | j=0; |
---|
7 | nu_filter=[20 23 24 25 26 27 30 40 50].*1e+9; |
---|
8 | nu=(0.001:0.01:100)*1e+9; |
---|
9 | F24i=[]; |
---|
10 | sigma24=0.01e+9; |
---|
11 | gauss24=1/sqrt(2*pi*sigma24^2)*exp(-(nu-24e+9).^2./(2*sigma24^2)); |
---|
12 | F35i=[]; |
---|
13 | sigma35=1e+9; |
---|
14 | gauss35=1/sqrt(2*pi*sigma35^2)*exp(-(nu-35e+9).^2./(2*sigma35^2)); |
---|
15 | color=colormap(jet(length(nu_filter))) |
---|
16 | for f=nu_filter |
---|
17 | j=j+1; |
---|
18 | lamb0=c/f; |
---|
19 | ratio=0.02;%a/g ratio |
---|
20 | omega0=(1-0.27*(ratio)); |
---|
21 | g=lamb0*omega0; |
---|
22 | a=ratio*g;%wire width |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | disp(['g=' num2str(g*1e+3) 'mm a=' num2str(a*1e+3) 'mm nu=' num2str((1-0.27*ratio)*c/g*1e-9) ' GHz']) |
---|
27 | disp(['g=' num2str(round(g*1e+6)*1e-3) 'mm a=' num2str(round(a*1e+6)*1e-3) 'mm nu=' num2str((1-0.27*ratio)*c/g*1e-9) ' GHz']) |
---|
28 | disp(['Plate=' num2str(round(g*1e+6)*1e-3-2*round(a*1e+6)*1e-3) ' mm and ' num2str(round(1000/(round(g*1e+6)*1e-3))/10) ' squares on line']) |
---|
29 | disp([' ']) |
---|
30 | omega=nu*g/c; |
---|
31 | lamb=g./omega; |
---|
32 | eta=1/(1-2*ratio); |
---|
33 | R=eta./2.*sqrt(c./lamb./sigma); |
---|
34 | Om=lamb0./lamb-lamb./lamb0; |
---|
35 | Z0=(2*log(csc(a*pi/(2*g)))); |
---|
36 | % Z0=8; |
---|
37 | t2=(R.^2+(Z0./Om).^2)./((1+R).^2+(Z0./Om).^2); |
---|
38 | |
---|
39 | plot(nu/1e+9,t2,'color',color(end-j+1,:),'linew',2) |
---|
40 | F24i=[F24i,t2*gauss24'*1e+7]; |
---|
41 | F35i=[F35i,t2*gauss35'*1e+7]; |
---|
42 | |
---|
43 | hold on |
---|
44 | end |
---|
45 | set(gca,'fontsize',16) |
---|
46 | xlabel('Frequency, [GHz]') |
---|
47 | ylabel('Transmissivity,[1]') |
---|
48 | legend('20 GHz','23 GHz','24 GHz','25 GHz','26 GHz','27 GHz','30 GHz','40 GHz','50 GHz','location','southeast') |
---|
49 | grid on |
---|
50 | xlim([10 100]) |
---|
51 | ylim([0 1]) |
---|
52 | |
---|
53 | |
---|