function symbolfreqnew = FindSymbolFreq3(coefs, symbolfreq, maxindexmat, minindexmat)

symbolfreqnew = symbolfreq;
[Block_Size_x, Block_Size_y, Block_Size_t] = size(coefs);

for t=1:Block_Size_t 
	for i=1:Block_Size_x 
   	for j=1:Block_Size_y
   	   symbolfreqnew{i,j,t}(1,coefs(i,j,t)-minindexmat(i,j,t)+1) = symbolfreqnew{i,j,t}(1,coefs(i,j,t)-minindexmat(i,j,t)+1)+1;
   	end   
	end
end
