ﺩﺍﻧﺸﮑﺪﻩ ﻣﻬﻨﺪﺳﻲ ﮐﺎﻣﭙﻴﻮﺗﺮ ﺗﻤﺮﻳﻦ ﮐﺎﻣﭙﻴﻮﺗﺮﻱ ﺳﺮﻱ ﺍﻭﻝ ﺳﻴﮕﻨﺎﻝﻫﺎﻭ ﺳﻴﺴﺘﻢﻫﺎ ﻣﻬﻠﺖ ﺍﺭﺳﺎﻝ :ﺩﻭﺷﻨﺒﻪ 12ﻓﺮﻭﺭﺩﻳﻦ 1387 ﺗﻮﺟﻪ: - ﺧﻼﺻﻪ ﮐﻮﺗﺎﻫﻲ ﺍﺯ ﻧﺘﺎﻳﺞ ﮐﺎﺭﻫﺎﻱ ﺧﻮﺩ ﺭﺍ ﺑﻪ ﻫﻤﺮﺍﻩ ﻧﻤﻮﺩﺍﺭﻫﺎﻱ ﺧﻮﺍﺳﺘﻪ ﺷﺪﻩ ﺩﺭ ﻳﮏ ﮔﺰﺍﺭﺵ ﺟﻤﻊ ﮐﻨﻴﺪ. - ﺗﻤﺎﻡ mﻓﺎﻳﻞ ﻫﺎﻱ ﺧﻮﺩ ﺭﺍ ﺑﻪ ﻫﻤﺮﺍﻩ ﻓﺎﻳﻞ ﮔﺰﺍﺭﺵ ،ﺩﺭ ﻳﮏ ﭘﺮﻭﻧﺪﻩ ﺭﻳﺨﺘﻪ ﻭ ﺑﺎ ﻓﺮﻣﺖ zipﻭ ﻳﺎ rarﻓﺸﺮﺩﻩ ﮐﺮﺩﻩ ﻭ ﻓﺎﻳﻞ ﻧﻬﺎﻳﻲ ﺭﺍ ﺑﺎ ﻧﺎﻡ HW1_ID ﺑﻪ ﺁﺩﺭﺱ Signal87@gmail.comﺍﺭﺳﺎﻝ ﮐﻨﻴﺪ. - ﺑﺮﻧﺎﻣﻪﻫﺎﻱ Matlabﺷﻤﺎ ﺑﺎﻳﺪ ﺑﺪﻭﻥ ﺧﻄﺎ ﻭ ﻧﻴﺎﺯ ﺑﻪ ﺗﻨﻈﻴﻤﺎﺕ ،ﺍﺟﺮﺍ ﺷﻮﻧﺪ. ﻣﺴﺎﻟﻪ ﺍﻭﻝ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ﭘﺎﺳﺦ ﺳﻴﺴﺘﻢﻫﺎﻱ ﮔﺴﺴﺘﻪ LTI ﺍﻟﻒ( ﺩﺭ ﻳﮏ mﻓﺎﻳﻞ ﺗﺎﺑﻌﻲ ﺑﻨﻮﻳﺴﻴﺪ ﮐﻪ ﺑﺎ ﺩﺭﻳﺎﻓﺖ ﺑﺮﺩﺍﺭ ﭘﺎﺳﺦ ﺿﺮﺑﻪ ﻳﮏ ﺳﻴﺴﺘﻢ ﮔﺴﺴﺘﻪ ﺧﻄﻲ ﺗﻐﻴﻴﺮﻧﺎﭘﺬﻳﺮﺑﺎ ﺯﻣﺎﻥ ﻭ ﻋﻠﻲ ] h[nﻭ ﺑﺮﺩﺍﺭ ﺳﻴﮕﻨﺎﻝ ﻭﺭﻭﺩﻱ]) x[nﮐﻪ ﻫﺮﺩﻭ ﺑﺮﺩﺍﺭ ﻭﺭﻭﺩﻱ ﺑﺮﺍﻱ ﺩﺭ ﻧﻈﺮ ﮔﺮﻓﺘﻪ ﻣﻲﺷﻮﻧﺪ( ،ﺑﺮﺩﺍﺭ ﺧﺮﻭﺟﻲ ﺳﻴﺴﺘﻢ ] y[nﺭﺍ ﺑﺎﺯﮔﺮﺩﺍﻧﺪ(convolve.m) . ﺏ( ﺑﻪ ﮐﻤﮏ ﺗﺎﺑﻊ ﻗﺴﻤﺖ ﻗﺒﻞ ﺧﺮﻭﺟﻲ ﺳﻴﺴﺘﻤﻲ FIRﺑﺎ ﭘﺎﺳﺦ ﺿﺮﺑﻪﻱ: ﺭﺍ ﺑﻪ ﻭﺭﻭﺩﻱ: ﺭﺍ ﻣﺤﺎﺳﺒﻪ ﻭ ﺑﺮﺩﺍﺭﻫﺎﻱ ] y[n] ,h[n] ,x[nﺭﺍ ﺩﺭ ﻳﮏ plotﻭ ﺯﻳﺮ ﻫﻢ ﺭﺳﻢ ﻧﻤﺎﻳﻴﺪ. ﺝ( ﻗﺴﻤﺖ ﻗﺒﻞ ﺭﺍ ﺑﻪ ﮐﻤﮏ ﺩﺳﺘﻮﺭ ) conv(h,xﺩﺭ Matlabﺗﮑﺮﺍﺭ ﻧﻤﺎﻳﻴﺪ(prob1.m) . ﻣﺴﺎﻟﻪ ﺩﻭﻡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . ﺣﺬﻑ ﺍﮐﻮ ﺩﺭ ﺑﺴﻴﺎﺭﻱ ﺍﺯ ﮐﺎﺭﺑﺮﺩﻫﺎﻱ ﻣﺨﺎﺑﺮﺍﺗﻲ ﺳﻴﮕﻨﺎﻝ ﺩﺭﻳﺎﻓﺘﻲ ﺩﺭ ﮔﻴﺮﻧﺪﻩ ﺑﻪ ﺩﻟﻴﻞ ﺍﻧﺘﺸﺎﺭ ﺩﺭ ﻣﺴﻴﺮﻫﺎﻱ ﻣﺨﺘﻠﻒ ﺩﺍﺭﺍﻱ ﺍﮐﻮ )ﻧﻤﻮﻧﻪ ﺗﺎﺧﻴﺮ ﻳﺎﻓﺘﻪ ﺳﻴﮕﻨﺎﻝ ﺍﺻﻠﻲ ﺑﺎ ﺩﺍﻣﻨﻪ ﮐﻤﺘﺮ( ﻣﻲﺑﺎﺷﺪ .ﺑﺮﺍﻱ ﻣﺜﺎﻝ ﻣﻲﺗﻮﺍﻥ ﻣﺪﻝ ﺯﻳﺮ ﺭﺍ ﺑﺮﺍﻱ ﺳﻴﮕﻨﺎﻝ ﺩﺭﻳﺎﻓﺘﻲ ﺩﺭ ﻧﻈﺮ ﮔﺮﻓﺖ: ﮐﻪ ﺩﺭ ﺁﻥ ﺗﻌﺪﺍﺩ ﻧﻤﻮﻧﻪﻫﺎﻱ ﺗﺎﺧﻴﺮﻱ ﺳﻴﮕﻨﺎﻝ ﺍﮐﻮ ﻫﺴﺘﻨﺪ .ﺩﺭ ﺍﻳﻦ ﻣﺴﺎﻟﻪ ﻣﻲﺧﻮﺍﻫﻴﻢ ﺭﻭﺷﻲ ﺭﺍ ﺑﺮﺍﻱ ﺣﺬﻑ ﺍﮐﻮ ﺍﺯ ﺳﻴﮕﻨﺎﻝ ﺻﺤﺒﺖ ﺩﺍﻣﻨﻪ ﻭ ﺑﺮﺭﺳﻲ ﮐﻨﻴﻢ. ﺍﻟﻒ( ﺑﻪ ﮐﻤﮏ ﺩﺳﺘﻮﺭ wavreadﻧﻤﻮﻧﻪﻫﺎﻱ ﻳﮏ ﺳﻴﮕﻨﺎﻝ ﺻﺤﺒﺖ ﮐﻮﺗﺎﻩ ﮐﻪ ﺑﻪ ﺻﻮﺭﺕ ﻓﺎﻳﻞ input.wavﻭ ﺑﺎ ﻓﺮﮐﺎﻧﺲ Fs=8KHzﺫﺧﻴﺮﻩ ﺷﺪﻩ ﺍﺳﺖ )ﻳﻌﻨﻲ (8K sample/secﺭﺍ ﺩﺭ ﺑﺮﺩﺍﺭ ﻭﺭﻭﺩﻱ ] x[nﻟﻮﺩ ﮐﺮﺩﻩ ﻭ ﺑﺎ ﺩﺳﺘﻮﺭ wavplayﺁﻥ ﺭﺍ ﭘﺨﺶ ﮐﻨﻴﺪ) .ﻓﺎﻳﻞ ﺭﺍ ﺩﺭ ﻫﻤﺎﻥ ﻓﻮﻟﺪﺭ ﺑﺮﻧﺎﻣﻪ ﻣﺤﺎﺳﺒﻪ ﮐﻨﻴﺪ) .ﭘﺎﺭﺍﻣﺘﺮ ﻗﺮﺍﺭ ﺩﻫﻴﺪ( .ﺳﻴﮕﻨﺎﻝ ] y[nﺭﺍ ﺍﺯ ﻣﺪﻝ ﻓﻮﻕ ﻭ ﺑﺎ ﭘﺎﺭﺍﻣﺘﺮ ﺭﺍ ﻃﻮﺭﻱ ﺩﺭ ﻧﻈﺮ ﺑﮕﻴﺮﻳﺪ ﮐﻪ ﺗﺎﺧﻴﺮ ﺍﮐﻮ ﺑﻴﻦ 100ﺗﺎ 200msﺑﺎﺷﺪ(. ﺣﺎﻝ ﻳﮏ plotﺍﺯ ﺳﻴﮕﻨﺎﻝ ﺻﺤﺒﺖ ﺍﺻﻠﻲ ﻭ ﺳﻴﮕﻨﺎﻝ ﺩﺍﺭﺍﻱ ﺍﮐﻮ ،ﺑﺮﺣﺴﺐ ﺯﻣﺎﻥ ) (secﺭﺳﻢ ﮐﻨﻴﺪ(Prob2_a.m). ﺏ( ﻣﻌﺎﺩﻟﻪ ﺗﻔﺎﺿﻠﻲ ﺍﺭﺍﻳﻪ ﺷﺪﻩ ﺭﺍ ﻣﻲﺗﻮﺍﻥ ﺑﻪ ﺻﻮﺭﺕ ﭘﺎﺳﺦ ﻳﮏ ﺳﻴﺴﺘﻢ ﮔﺴﺴﺘﻪ LTIﺑﺎ ﭘﺎﺳﺦ ﺿﺮﺑﻪ ﺩﺭ ﻧﻈﺮ ﮔﺮﻓﺖ .ﺑﺮﺍﻱ ﺣﺬﻑ ﺍﮐﻮ ﺑﺎﻳﺪ ﺳﻴﺴﺘﻢ ﻣﻌﮑﻮﺱ ﺭﺍ ﺭﻭﻱ ﺳﻴﮕﻨﺎﻝ ﺍﻋﻤﺎﻝ ﮐﺮﺩ .ﻧﻤﻮﻧﻪﻫﺎﻱ ﺳﻴﺴﺘﻢ ﻣﻌﮑﻮﺱ ﺭﺍ ﺑﺪﺳﺖ ﺁﻭﺭﺩﻩ ﻭﺁﻧﻬﺎ ﺭﺍ ﺭﺳﻢ ﮐﻨﻴﺪ )ﺗﻌﺪﺍﺩ ﻣﺤﺪﻭﺩﻱ ﺍﺯ ﺿﺮﺍﻳﺐ ﺳﻴﺴﺘﻢ ﻣﻌﮑﻮﺱ ﺭﺍ ﺩﺭ ﻧﻈﺮ ﺑﮕﻴﺮﻳﺪ( .ﺣﺎﻝ ﺑﻪ ﮐﻤﮏ ﺩﺳﺘﻮﺭ filterﺩﺭ Matlabﺳﻴﺴﺘﻢ ﻣﻌﮑﻮﺱ ﺭﺍ ﺍﻋﻤﺎﻝ ﮐﺮﺩﻩ ﻭ ﺳﻴﮕﻨﺎﻝ ﺧﺮﻭﺟﻲ ﺭﺍ ﭘﺨﺶ ﮐﻨﻴﺪ(Prob2_b.m) . ﺝ( ﺩﺭ ﺑﺴﻴﺎﺭﻱ ﺍﺯ ﮐﺎﺭﺑﺮﺩﻫﺎ ﭘﺎﺭﺍﻣﺘﺮﻫﺎﻱ ﻭ ﺩﺭ ﺩﺳﺖ ﻧﻴﺴﺘﻨﺪ .ﺩﺭ ﺍﻳﻦ ﻗﺴﻤﺖ ﺭﻭﺷﻲ ﺭﺍ ﺑﺮﺍﻱ ﺗﺨﻤﻴﻦ ﺍﻳﻦ ﭘﺎﺭﺍﻣﺘﺮﻫﺎ ﺑﺮﺭﺳﻲ ﻣﻲﮐﻨﻴﻢ .ﻫﻤﺎﻥ ﻃﻮﺭ ﮐﻪ ﻣﻲﺩﺍﻧﻴﺪ ﺗﺎﺑﻊ ﺧﻮﺩ ﻫﻤﺒﺴﺘﮕﻲ ﻳﮏ ﺳﻴﮕﻨﺎﻝ ﮔﺴﺴﺘﻪ ﭼﻨﻴﻦ ﺗﻌﺮﻳﻒ ﻣﻲﺷﻮﺩ )ﺗﻤﺮﻳﻦ 65ﻓﺼﻞ 2ﮐﺘﺎﺏ(: ﺍﺑﺘﺪﺍ ﻭ ﺑﺪﺳﺖ ﺁﻭﺭﻳﺪ ) ﺭﺍ ﺭﺳﻢ ﻧﻤﺎﻳﻴﺪ) .ﺷﮑﻞ ﻧﻤﻮﺩﺍﺭ ﺭﺍ ﺗﻮﺿﻴﺢ ﺩﻫﻴﺪ( .ﺣﺎﻝ ﺭﺍﺑﻄﻪﺍﻱ ﺑﺮﺍﻱ ﺑﺮ ﺣﺴﺐ ﻭ ﭘﺎﺭﺍﻣﺘﺮﻫﺎﻱ ﺍﮐﻮ ﺳﻴﮕﻨﺎﻝ ﺗﺨﺮﻳﺐ ﺷﺪﻩ ﺑﺎ ﺍﮐﻮ ﺍﺳﺖ(. ﺭﻭﺷﻲ ﺑﺮﺍﻱ ﺗﺨﻤﻴﻦ ﻋﻤﻠﻲ ﭘﺎﺭﺍﻣﺘﺮﻫﺎﻱ ﺍﮐﻮ ﺑﻪ ﮐﻤﮏ ﺗﻮﺍﺑﻊ ﺧﻮﺩ ﻫﻤﺒﺴﺘﮕﻲ xﻭ yﭘﻴﺸﻨﻬﺎﺩ ﮐﺮﺩﻩ ﻭ ﺁﻥ ﺭﺍ ﺑﺮﺍﻱ ﺣﺬﻑ ﺍﮐﻮ ﺩﺭ ﺳﻴﮕﻨﺎﻝ ﺳﺎﺧﺘﻪ ﺷﺪﻩ ﺩﺭ ﻗﺴﻤﺖ ﺍﻟﻒ ﺑﻪ ﮐﺎﺭ ﺑﺮﺩﻩ ﻭ ﺳﻴﮕﻨﺎﻝ ﺧﺮﻭﺟﻲ ﺭﺍ ﭘﺨﺶ ﮐﻨﻴﺪ .ﺩﺭ ﻧﻬﺎﻳﺖ ﺗﺎﺑﻌﻲ ﺑﻪ ﻧﺎﻡ echo_cancel.mﺑﻨﻮﻳﺴﺪ ﮐﻪ ﺑﺮﺩﺍﺭ ﺳﻴﮕﻨﺎﻝ ﺩﺍﺭﺍﻱ ﺍﮐﻮ ﺭﺍ ﮔﺮﻓﺘﻪ ﻭ ﺍﮐﻮ ﺭﺍ ﺍﺯ ﺁﻥ ﺣﺬﻑ ﮐﻨﺪ) .ﮐﻴﻔﻴﺖ ﺣﺬﻑ ﺍﮐﻮ ﺗﺎﺑﻊ ﺷﻤﺎ ﺑﺮﺍﻱ ﻳﮏ ﻭﺭﻭﺩﻱ ﺻﺤﺒﺖ ﺑﺎ ﭘﺎﺭﺍﻣﺘﺮﻫﺎﻱ ﺗﺎﺧﻴﺮ ﺩﻟﺨﻮﺍﻩ ﺳﻨﺠﻴﺪﻩ ﺧﻮﺍﻫﺪ ﺷﺪ( ﻗﺴﻤﺖﻫﺎﻱ ﺍﻣﺘﻴﺎﺯﻱ: -1ﺭﻭﻱ ﺳﻴﮕﻨﺎﻝ ﻳﮏ ﻧﻮﻳﺰ ﮔﻮﺳﻲ ﺑﺎ 0.1ﺩﺍﻣﻨﻪ ﺍﻳﺠﺎﺩ ﮐﺮﺩﻩ ﻭ ﻣﺮﺍﺣﻞ ﻓﻮﻕ ﺭﺍ ﺗﮑﺮﺍﺭ ﮐﻨﻴﺪ ،ﮐﻴﻔﻴﺖ ﺣﺬﻑ ﺍﮐﻮ ﭼﮕﻮﻧﻪ ﺗﻐﻴﻴﺮ ﻣﻲﮐﻨﺪ؟ -2ﺭﻭﺷﻲ ﺑﺮﺍﻱ ﺣﺬﻑ ﺍﮐﻮ ﺑﺎ ﻣﺪﻝ ﺯﻳﺮ ﭘﻴﺸﻨﻬﺎﺩ ﮐﺮﺩﻩ ﻭ ﺗﺎﺑﻌﻲ ﺑﺮﺍﻱ ﭘﻴﺎﺩﻩﺳﺎﺯﻱ ﺁﻥ ﺑﻨﻮﻳﺴﻴﺪ:
© Copyright 2025 Paperzz