matlab 画光束等相面,拉盖尔高斯光束_厄米高斯光束MATLAB仿真 - 范文中心

激光原理by 贾而穑 130212114

厄米高斯光束MATLAB 仿真

其中主程序文件:plotHermiteGaussianBeams.m

子程序文件:HermitePoly.m

程序如下:

plotHermiteGaussianBeams.m

%-------------------------------------------------------------------------% % auther:Erse Jia

% Student ID 130212114

%-------------------------------------------------------------------------% %% Hermite Gaussian Beams

%% SET PARAMETERS

% Physical parameters

lambda = 500; % nm

k = 2*pi/lambda;

% The two parameters for the gaussian beam (and derived quantities) z0 = 1;

A0 = 1;

W0 = sqrt(lambda*z0/pi);

W = @(z) W0*sqrt(1+(z/z0)^2);

R = @(z) z*(1+(z/z0)^2);

Zeta = @(z) atan(z/z0);

% The coefficients for the Hermite-Gaussian (HG) beam of order (l,m)

A = [ 1 0 0 0;

你可能感兴趣的:(matlab,画光束等相面)