view MIX.m @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 6840f77b83aa
children
line wrap: on
line source
function [w] = MIX(x,y)
size(x)
size(y)
if(length(x) > length(y))
    x = x(1:length(y));
else
    y = y(1:length(x));
end;
w=2.5*x+y;

size(w)

if max(w)>1
    w=0.9*w/max(w);
end