classdef HW2_Solution_MathOps < handle
    
    properties
        A
        B
    end
    
    methods
        function out=AB_Add(obj)
            out=obj.A+obj.B;
        end
        function out=AB_Multi(obj)
            out=obj.A*obj.B;
        end
        function out=AB_Sub(obj)
            out=obj.A-obj.B;
        end
    end
    
end

