normws

Computes the weighted Schatten p-norm (WS,P).

Contents

Syntax

normA = normws(A,seti)

Description

normA = normws(A,seti) computes the weighted Schatten p-Norm. The weight is seti.dSMeas and p is seti.pNorm.

Input Arguments

More About

Notation

See Also

Code

function normA = normws(A,seti)

if seti.pNorm == 2
    normA = sqrt(abs(innerhs(A,A,seti)));
    % Norm which is induced by innerhs ($\langle A,B \rangle_\mathrm{dis}$).
else
    S = svd(diag(seti.dSMeas^(1/seti.pNorm))*A);
    normA = norm(S,seti.pNorm);
end

end