frob_chop.m

From Spinach Documentation Wiki
Revision as of 16:58, 3 January 2018 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:frob_chop.m}} Truncates SVD decomposition to the user-specified threshold in the Frobenius norm. ==Syntax== r=frob_chop(s,tol) ==Arguments== s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Truncates SVD decomposition to the user-specified threshold in the Frobenius norm.

Syntax

     r=frob_chop(s,tol)

Arguments

   s   - a vector of singular values for a matrix,
         in descending order

   tol - truncation threshold

Outputs

   r   - the number of singular values to keep

See also

ttclass/shrink.m


Version 2.1, authors: Ilya Kuprov, Dmitry Savostyanov