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: MTFLCd_ADMM.m
    path of file: ./repos/MALSAR/MALSAR/functions/calibration
    
    the code of the file until where you have to start completion: function [W, info] = MTFLCd_ADMM(X, y, lambda1, lambda2, opts)
%
% Multi-Task Feature Learning with Calibration - ADMM
%
% OBJECTIVE
%    min_W { s
    
function [fvAug, fvP] = augLagObjective(W, Thvect, Zvect)
        % augmented Lagrange objective (fvAug) and original objective (fvP).
        %  
        % fvAug = sum_i^m ||Xi wi - yi|| + lambda1 ||W||_{1,2} + lambda2/2 ||W||_F^2
        %         + sum_i^m {Th_i' (y_i - z_i - X_i w_i) + 2 ||y_i - z_i - X_i w_i||^2/rho }
        %
        % fvP  =  sum_i^m ||Xi wi - yi|| + lambda1 ||W||_{1,2} + lambda2/2 ||W||_F^2
        %         + sum_i^m {Th_i' (y_i - z_i - X_i w_i) + 2 ||y_i - z_i - X_i w_i||^2/rho }
        %
        
        yzXW = yvect - Zvect - Xdiag * W(:);
        fvP  = segL2 (Xdiag * W(:) - yvect, Th_vecIdx) ...
            + lambda1 * sum(sqrt(sum(W.^2, 2))) + lambda2 /2 * sum(sum(W.^2));
        fvAug = fvP + Thvect' * yzXW + 2 * sum(yzXW.^2) / rho; 
    end