Can someone please help me with plotting this function of the Gaussian Beam wavefront radius?!
3 次查看(过去 30 天)
显示 更早的评论
Given: Power and energy (but i don't think these have anything to do with the plotting). Also the wavelength of the laser is given (248 nm). Nothing else is given....
I need to plot R(z).
0 个评论
回答(1 个)
Dan Po
2016-9-27
编辑:Dan Po
2016-9-27
calculate: w0, lambda and set them as variables. i am guessing lambdaL=248
clc
clear
close
%
w0=4;
lambda=2;
z=1:1000; %or your wanted plotted values
beamradius=w0*sqrt(1+((lambda*z)/(pi*(w0).^2)).^2);
%
plot(z,beamradius,'r')
title('blabla bla')
xlabel('blab bla bali') % x-axis label
ylabel('blab bla bali') % y-axis label
legend('z = whatever','Location','northwest')
check for units
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!