hi
I have two signals first is input signal and others is noise signal I mixed two signals and got a signal, now I want play this signal with sound() function and I need frequency of it to play, how can I get the frequency of last signal that is a mixed signal?
as more information my code is like below:
[mainsigal, fs]=wavread('mainsignal.wav');
[noisesignal, fs1]=wavread('noisesignal.wav');%traffic signal
s=mainsignal(:,1);
n=noisesignal(:,1);
l_s=length(s);
for I=1:l_s
h(I)=s(I)+n(I);
end
sound(h,?????);
now I need compute fs for h signal.
thanks