view dsp/specprod.m @ 42:ae596261e75f

Various fixes and development to audio handling
author samer
date Tue, 02 Dec 2014 14:51:13 +0000
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