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