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: AbstractSE2Distribution.m
    path of file: ./repos/libDirectional/lib/distributions/LinearBoundedCartProd/Hypercylinder/SE2
    
    the code of the file until where you have to start completion: classdef (Abstract) AbstractSE2Distribution < AbstractHypercylindricalDistribution
 
    methods        
        function h = plotState(this, scalingFactor, circleColor, angleColor)
            % Plot mean a
    
function se2State = anglePosToSE2state(x)
            % Convert a single state into an object of a class that can
            % provide a variety of different representations for the SE2
            % state
            % Input: 
            %   rot (1xn vector): angles in radian
            %   trans (2xn matrix): translation vectors concatenated columnwise
            % Output:
            %   dq (4xn matrix): dual quaternions concatenated columnwise
            arguments
                x(3,1) double
            end