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: lmlraerr.m
    path of file: ./repos/lrslibrary/libs/+tensorlab
    
    the code of the file until where you have to start completion: function sangle = lmlraerr(U,Uest)
%LMLRAERR Errors between factor matrices in a LMLRA.
%   sangle = lmlraerr(U,Uest), with U and Uest cell arrays of factor
%   matrices, computes the angle sangle(n) between the subspaces U{n} and
%   Uest{n} for n = 1:length(U). The factor matrices U{n} and Uest{n}
%   should have an equal number of rows, but the number of columns may
%   differ.
%
%   See also lmlragen, cpderr.

    
function sangle = lmlraerr(U,Uest)
%LMLRAERR Errors between factor matrices in a LMLRA.
%   sangle = lmlraerr(U,Uest), with U and Uest cell arrays of factor
%   matrices, computes the angle sangle(n) between the subspaces U{n} and
%   Uest{n} for n = 1:length(U). The factor matrices U{n} and Uest{n}
%   should have an equal number of rows, but the number of columns may
%   differ.
%
%   See also lmlragen, cpderr.

%   Authors: Laurent Sorber (Laurent.Sorber@cs.kuleuven.be)
%            Marc Van Barel (Marc.VanBarel@cs.kuleuven.be)
%            Lieven De Lathauwer (Lieven.DeLathauwer@kuleuven-kulak.be)

% Check input.
if ~iscell(U), U = {U}; end