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