source: ETALON/THZ_filters/2017_THz_FILTER/test_param_2d_ab.m @ 733

Last change on this file since 733 was 733, checked in by hodnevuc, 7 years ago
File size: 595 bytes
Line 
1   clear all; close all; clc
2%% Double Cross filter
3
4a1=1e-4;
5A1=0.53;
6
7c=299792458;
8SPlam=c/100e+9;
9aar=(0.1:0.2:5)*1e-3;
10bar=(0.1:0.2:5)*1e-3;
11
12
13for cc=1:length(aar)
14for ck=1:length(bar)
15
16a=aar(cc);
17b=bar(ck);
18g=(SPlam+4*a+2*b)/2.27;
19
20FreqArr=1e+9:1e+8:2e+11;
21for cnt=1:length(FreqArr)
22Stot=  S(FreqArr(cnt), 0, g, a, b, 1, 1);
23TTE(cnt)=abs(1./Stot(2,2))^2;
24end
25Rez(cc,ck)=sum(TTE>0.5)*1e+8;
26end
27end
28[hC hC] =contourf(aar*1e+3,bar*1e+3,Rez'.*1e-9)
29 set(hC,'LineStyle','none');
30colorbar
31set(gca,'fontsize',16)
32xlabel('a, [mm]')
33ylabel('b, [mm]')
34title('100 GHz, FWHM of transmittance, [GHz]')
Note: See TracBrowser for help on using the repository browser.