classdef MAC

    properties
        idx
    end

    methods
        function M = MAC(m)
            if nargin == 1
                M(m) = MAC;
                k = 0;
                for i = 1:m
                    M(i).idx = k;
                    k = k + 1;
                end
            end
        end
    end
end
