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