isahatipoglu.com
Laser Beam Profile: Knife Edge Method Matlab Function for Error Function Fitting
Here is the Matlab function to calculate the beam profile of a Gaussian beam using error function fit. Fitting function: Transmission(x-x0) = 0.5(1+erf(sqrt(2).(x-x0)./w)) where x is the position o…