view util/ksvd utils/collincomb.m @ 219:4337e28183f1 luisf_dev

Modified help comments of wrapper_mm_DL.m, wrapper_mm_solver.m, SMALL_rlsdla.m & SMALL_AudioDenoise_DL_test_KSVDvsSPAMS.m. Moved wrapper_ALPS_toolbox from toolboxes to toolboxes/alps and added some extra help comments.
author Aris Gretsistas <aris.gretsistas@elec.qmul.ac.uk>
date Fri, 23 Mar 2012 20:48:25 +0000
parents c3eca463202d
children
line wrap: on
line source
%COLLINCOMB Linear combination of matrix columns.
%  Y = COLLINCOMB(A,COLS,X) computes a linear combination of the columns of
%  the matrix A. The column indices are specified in the vector COLS, and
%  the correspoinding coefficients are specified in the vector X. The
%  vectors COLS and X must be of the same length. 
%  
%  The call Y = COLLINCOMB(A,COLS,X) is essentially equivalent to
%
%         Y = A(:,COLS)*X .
%
%  However, it is implemented much more efficiently.
%
%  Y = COLLINCOMB(A,ROWS,COLS,X) only works on the rows of A specified
%  in ROWS, returning a vector of length equal to ROWS. This call is
%  essentially equivalent to the command
%
%         Y = A(ROWS,COLS)*X .
%
%  See also ROWLINCOMB.


%  Ron Rubinstein
%  Computer Science Department
%  Technion, Haifa 32000 Israel
%  ronrubin@cs
%
%  April 2009