Hello,
I am working on a filtering project, I am simulating the filter in Matlab. To
see how it works in realnoise surroundings, I have recorded noise (bus, street
etc.) which I want to add over my speech signal.
Now, my problem is that when I do so, the error is that the matrix dimensions
don't agree. I list the code where I do the adding:
realNoiseType=get(handles.noiseSource,'Value');
if realNoiseType==1
noisesgn=wavread('Bus.wav');
wave1=wave+noisesgn(1:length(wave)); % sa pun zgomotul in asa fel
incat sa acopere tot semnalul
elseif realNoiseType==2
noisesgn=wavread('Street.wav');
wave1=wave+noisesgn(1:length(wave));
elseif realNoiseType==3
noisesgn=wavread('Traffic.wav');
wave1=wave+noisesgn(1:length(wave));
end;
Could you please tell me where the problem is?
Thanks a lot,
Paul