comparison DL/RLS-DLA/SMALL_rlsdla.m @ 66:a02503d91c8d

(none)
author idamnjanovic
date Wed, 16 Mar 2011 13:58:32 +0000
parents 55faa9b5d1ac
children fd1c32cda22c
comparison
equal deleted inserted replaced
65:55faa9b5d1ac 66:a02503d91c8d
116 116
117 117
118 for i = 1:cnt 118 for i = 1:cnt
119 119
120 if (codemode == CODE_SPARSITY) 120 if (codemode == CODE_SPARSITY)
121 w = ompmex(D,data(:,i),[],[],thresh,1,-1,0); 121 w = ompmex(D,data(:,i),[],thresh,'checkdict','off');
122 else 122 else
123 w = omp2mex(D,data(:,i),[],[],[],thresh,0,-1,maxatoms,0); 123 w = omp2(D,data(:,i),[],thresh,'maxatoms',maxatoms, 'checkdict','off');
124 end 124 end
125 125
126 spind=find(w); 126 spind=find(w);
127 127
128 residual = data(:,i) - D * w; 128 residual = data(:,i) - D * w;