SchattenNorm

From QETLAB
Revision as of 16:37, 24 December 2014 by Nathaniel (talk | contribs) (added CVX parameter)
Jump to navigation Jump to search
SchattenNorm
Computes the Schatten p-norm of an operator

Other toolboxes required none
Related functions kpNorm
KyFanNorm
TraceNorm
Function category Norms
Usable within CVX? no

SchattenNorm is a function that computes the Schatten p-norm of an operator (i.e., the p-norm of its vector of singular values). It works with both full and sparse matrices.

Syntax

  • NRM = SchattenNorm(X,P)

Argument descriptions

  • X: An operator to have its Schatten P-norm computed.
  • P: A real number ≥ 1, or Inf.

Examples

Equals the Frobenius norm when P = 2

The Shatten 2-norm is simply the Frobenius norm:

>> X = rand(2500);
>> [norm(X,'fro'), SchattenNorm(X,2)]

ans =

       1443.6       1443.6

Source code

Click here to view this function's source code on github.