You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: laguerre.m
    path of file: ./repos/ott/+ott/+utils
    
    the code of the file until where you have to start completion: function Lpl = laguerre(p,l,X)
% LAGUERRE associated Laguerre function
%
% L = LAGUERRE(p,l,X) evaluate associated Laguerre function.
% p and l must be integer scalars greater than zero

% This file is part of the optical tweezers toolbox.

    
function Lpl = laguerre(p,l,X)
% LAGUERRE associated Laguerre function
%
% L = LAGUERRE(p,l,X) evaluate associated Laguerre function.
% p and l must be integer scalars greater than zero

% This file is part of the optical tweezers toolbox.
% See LICENSE.md for information about using/distributing this file.

x=X(:);

Lplt=zeros(numel(x),max([p+1,2]));

Lplt(:,1)=1;
Lplt(:,2)=-x+l+1;

for ii=2:p
    Lplt(:,ii+1)=1/ii*((2*ii+l-1-x).*Lplt(:,ii)-(ii+l-1).*Lplt(:,ii-1));
end