% Add a tone with frequency f Hz for T seconds

function [x,Ts] = addTone(x,f,T)
fs = 11025; Ts = 1/fs; n = round(T/Ts);
t = (1:n)*Ts;
x = [x cos(2*pi*f*t)];

