ivan@137: %This is the Matlab interface to the OMP2 MEX implementation. ivan@137: %The function is not for independent use, only through omp2.m. ivan@137: ivan@137: ivan@137: %OMP2MEX Matlab interface to the OMP2 MEX implementation. ivan@137: % GAMMA = OMP2MEX(D,X,DtX,XtX,G,EPSILON,SPARSE_G,MSGDELTA,MAXATOMS,PROFILE) ivan@137: % invokes the OMP2 MEX function according to the specified parameters. Not ivan@137: % all the parameters are required. Those among D, X, DtX, XtX and G which ivan@137: % are not specified should be passed as []. ivan@137: % ivan@137: % EPSILON - the target error. ivan@137: % SPARSE_G - returns a sparse GAMMA when nonzero, full GAMMA when zero. ivan@137: % MSGDELTA - the delay in secs between messages. Zero means no messages. ivan@137: % MAXATOMS - the max number of atoms per signal, negative for no max. ivan@137: % PROFILE - nonzero means that profiling information should be printed. ivan@137: ivan@137: ivan@137: % Ron Rubinstein ivan@137: % Computer Science Department ivan@137: % Technion, Haifa 32000 Israel ivan@137: % ronrubin@cs ivan@137: % ivan@137: % April 2009