thanks for youre help
but my problem is any thing else !
I have white noise(downloaded from internet)
and I want to add white noise to my voice(that is 2 secend)
these are diffrent in length ,
how can I do this?
let's say that v is voice and n is noise. what you want to do is vn=v+n but length(v) is different from length, correct?
let's say that N=min(length(v),length), than you can do vn=v(1:N)+n(1:N).