Mercurial > hg > ishara
view dsp/specprod.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | c3b0cd708782 |
children |
line wrap: on
line source
function C=specprod(A,B) % specprod - kind of spectral distance matrix product thingy % % specprod :: [[N,M]], [[M,L]] -> [[N,L]]. C=zeros(size(A,1),size(B,2)); for i=1:size(A,1) for j=1:size(B,2) C(i,j)=specdist(B(:,j),A(i,:)'); end end