Home

Introduction

Contents

Scripts

FeedBack

Date 06/09/2010
Script S5_2_18.m
Download Script S5_2_18.m
%==============================================
%Fresnel zones 2
%==============================================
%
%wavelength in mm
lambda=5e-04;
%height H1 and H2 in mm
H1=2;
H2=10;
%distances a and b in mm
b=500;
a=700;
%a parameter G
G=(a+b)/(a*b);
%number N of zones
m1=round(((H1^2)*G)/lambda)
mN=round(((H2^2)*G)/lambda)
N=mN-m1
%the N heights h are evaluated
m=1:N;
num=m*lambda;
h=sqrt(num/G);
%and the corresponding values of t
for i=1:N-1
t(i)=h(i+1)-h(i);
end
t;
%only the first ten values of h, alias h_parz, are considered
%and the corresponding nine values of t, alias t_parz
%both arrays are in mm
%
h_parz=h(1:10)
t_parz=t(1:9)
%==============================================
%
Top