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=[37 53 75 124 186 368].*1e+9; |
---|
8 | nu=(0.0001:0.01:500)*1e+9; |
---|
9 | F24=[]; |
---|
10 | F35=[]; |
---|
11 | |
---|
12 | sigma24=1e+9; |
---|
13 | gauss24=1/sqrt(2*pi*sigma24^2)*exp(-(nu-24e+9).^2./(2*sigma24^2)); |
---|
14 | sigma35=1e+9; |
---|
15 | gauss35=1/sqrt(2*pi*sigma35^2)*exp(-(nu-35e+9).^2./(2*sigma35^2)); |
---|
16 | color=colormap(jet(length(nu_filter))) |
---|
17 | for f=nu_filter |
---|
18 | j=j+1; |
---|
19 | lamb0=c/f; |
---|
20 | ratio=0.2;%a/g ratio |
---|
21 | omega0=(1-0.27*(ratio)); |
---|
22 | g=lamb0*omega0; |
---|
23 | a=ratio*g;%wire width |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | disp(['g=' num2str(g*1e+3) 'mm a=' num2str(a*1e+3) 'mm nu=' num2str((1-0.27*ratio)*c/g*1e-9) ' GHz']) |
---|
28 | 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']) |
---|
29 | 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']) |
---|
30 | disp([' ']) |
---|
31 | omega=nu*g/c; |
---|
32 | lamb=g./omega; |
---|
33 | eta=1/(1-2*ratio); |
---|
34 | R=eta./2.*sqrt(c./lamb./sigma); |
---|
35 | Om=lamb0./lamb-lamb./lamb0; |
---|
36 | Z0=(2*log(csc(a*pi/(2*g)))); |
---|
37 | % Z0=2.5 |
---|
38 | t2=(R.^2+(Z0./Om).^2)./((1+R).^2+(Z0./Om).^2); |
---|
39 | |
---|
40 | |
---|
41 | plot(nu/1e+9,t2,'color',color(end-j+1,:),'linew',2) |
---|
42 | F24=[F24,t2*gauss24'*1e+7]; |
---|
43 | F35=[F35,t2*gauss35'*1e+7]; |
---|
44 | |
---|
45 | hold on |
---|
46 | end |
---|
47 | set(gca,'fontsize',16) |
---|
48 | xlabel('Frequency, [GHz]') |
---|
49 | ylabel('Transmissivity, [1]') |
---|
50 | legend('37 GHz','53 GHz','75 GHz','124 GHz','186 GHz','368 GHz','location','southeast') |
---|
51 | grid on |
---|
52 | xlim([10 500]) |
---|
53 | |
---|