4 lines
100 B
Matlab
4 lines
100 B
Matlab
% Beam with uniform distribution
|
|
function u = uniform(r, w0, r_max, P)
|
|
u = P / (pi*r_max^2);
|
|
end |