source: ETALON/THZ_filters/2016_THz_FILTER_calculation/MF1.m @ 733

Last change on this file since 733 was 733, checked in by hodnevuc, 7 years ago
File size: 1.2 KB
Line 
1   clear all; close all; clc
2%inductive grating
3%phys. const
4c=299792458;%speed of light, m/s
5sigma=1.45e+6*1e-7*c*c;%stainless steel conductivity, [s]
6j=0;
7nu_filter=[20 23 24 25 26 27 30 40 50].*1e+9;
8nu=(0.001:0.01:1000)*1e+11;
9for f=nu_filter
10j=j+1;
11lamb0=c/f;
12ratio=0.02;%a/g ratio
13omega0=(1-0.27*(ratio));
14g=lamb0*omega0;
15a=ratio*g;%wire width
16
17
18
19disp(['g=' num2str(g*1e+3) 'mm a=' num2str(a*1e+3) 'mm nu=' num2str((1-0.27*ratio)*c/g*1e-9) ' GHz'])
20disp(['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'])
21disp(['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'])
22disp(['  '])
23omega=nu*g/c;
24lamb=g./omega;
25eta=1/(1-2*ratio);
26R=eta./2.*sqrt(c./lamb./sigma);
27Om=lamb0./lamb-lamb./lamb0;
28 Z0=(2*log(csc(a*pi/(2*g))));
29t2=(R.^2+(Z0./Om).^2)./((1+R).^2+(Z0./Om).^2);
30
31
32semilogy(nu/1e+9,t2,'color',rand([1 3]),'linew',2)
33
34hold on
35end
36set(gca,'fontsize',16)
37xlabel('Frequency, [GHz]')
38ylabel('Transmissivity')
39legend('20 GHz','23 GHz','24 GHz','25 GHz','26 GHz','27 GHz','30 GHz','40 GHz','50 GHz')
40grid on
41xlim([10 100])
Note: See TracBrowser for help on using the repository browser.