source: ETALON/THZ_filters/Experiment results/MF_EXP2.m @ 733

Last change on this file since 733 was 733, checked in by hodnevuc, 7 years ago
File size: 1.4 KB
Line 
1   clear all; close all; clc
2%inductive grating
3%phys. const
4c=299792458;%speed of light, m/s
5 sigma=1.45e+6*1e-7*c*c;%stainless steel conductivity, [s]
6j=0;
7nu_filter=[37 53 75 124 186 368].*1e+9;
8nu=(0.0001:0.01:500)*1e+9;
9F24=[];
10F35=[];
11
12sigma24=1e+9;
13gauss24=1/sqrt(2*pi*sigma24^2)*exp(-(nu-24e+9).^2./(2*sigma24^2));
14sigma35=1e+9;
15gauss35=1/sqrt(2*pi*sigma35^2)*exp(-(nu-35e+9).^2./(2*sigma35^2));
16color=colormap(jet(length(nu_filter)))
17for f=nu_filter
18j=j+1;
19lamb0=c/f;
20ratio=0.2;%a/g ratio
21omega0=(1-0.27*(ratio));
22g=lamb0*omega0;
23a=ratio*g;%wire width
24
25
26
27disp(['g=' num2str(g*1e+3) 'mm a=' num2str(a*1e+3) 'mm nu=' num2str((1-0.27*ratio)*c/g*1e-9) ' GHz'])
28disp(['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'])
29disp(['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'])
30disp(['  '])
31omega=nu*g/c;
32lamb=g./omega;
33eta=1/(1-2*ratio);
34R=eta./2.*sqrt(c./lamb./sigma);
35Om=lamb0./lamb-lamb./lamb0;
36  Z0=(2*log(csc(a*pi/(2*g))));
37% Z0=2.5
38t2=(R.^2+(Z0./Om).^2)./((1+R).^2+(Z0./Om).^2);
39
40
41plot(nu/1e+9,t2,'color',color(end-j+1,:),'linew',2)
42F24=[F24,t2*gauss24'*1e+7];
43F35=[F35,t2*gauss35'*1e+7];
44
45hold on
46end
47set(gca,'fontsize',16)
48xlabel('Frequency, [GHz]')
49ylabel('Transmissivity, [1]')
50 legend('37 GHz','53 GHz','75 GHz','124 GHz','186 GHz','368 GHz','location','southeast')
51grid on
52xlim([10 500])
53
Note: See TracBrowser for help on using the repository browser.