diff --git a/src/softshrink.m b/src/softshrink.m index bdf272d3faae3eb7a2411a90d6b81fbab9788490..c73692bccf844c16702fef850a48b2437fdf1c99 100644 --- a/src/softshrink.m +++ b/src/softshrink.m @@ -1,13 +1,13 @@ function F = softshrink(F, softshrink_mu, softshrink_type, nr_of_sources) -%% SOFTSHRINK: Applies the soft-shrinkage operator to the vector f and -% returns the result + +%% SOFTSHRINK: Applies the soft-shrinkage operator to the Matrix F and returns the result. % -% INPUT: f -- vector with real/complex entries -% softshrink_mu -- threshold parameter in the soft shrinkage operatore -% softshrink_type -- type of soft-shrinkage to be used ('real'/'complex') -% -% OUTPUT: f -- vector with real/complex entries +% INPUT: F Matrix with real/complex entries. +% softshrink_mu Threshold parameter in the soft shrinkage operatore. +% softshrink_type Type of soft-shrinkage to be used ('real'/'complex'). +% OUTPUT: F Matrix with real/complex entries. % +% ****************************************************************************************** for iters = 1:nr_of_sources @@ -42,4 +42,4 @@ end F{iters} = f; -end \ No newline at end of file +end