Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Subtheme #3 CODE Design an echo filter that produces the original signal plus two echoes. The first echo is attenuated by 203 and occurs at

Subtheme #3 CODE

image text in transcribedimage text in transcribed

Design an echo filter that produces the original signal plus two echoes. The first echo is attenuated by 203 and occurs at 1 Second. The second echo is attenuated by 30% and occurs at 1.5 Seconds. System Works at Fs=8192. close all clear all load 'splat') N=length(); $y is the default name of the uploaded signal al=0.8; 20% attenuation a2=0.71 $ 30% attenuation td1=1; time delay 1 in seconds td2=1.5; $ time delay 2 in seconds Ts=1/F3; sampling period n1= floor (tdi/Is);_$time delay 1 in samples n2= floor (td2/T3); } time delay 1 in samples h(1)=1; $unit-sample response coefficients h(nl) =a1; h(n2) =a2; vecho=conv (hu); $filter output sound (Y, FS) Hear the original signal n=0: length(y)-1; plot (n*18x); xlabeil seconds', fontsize title( 'Input Signal', 'fontsize' ,14) sound (yesho Hear the output signal with echoes figure n=0:length (vecho)-1; plot (n*Texecho) $ time axis is in seconds xlabei seconds', 'Fontsize' ,14) title ( "Output Signal','fontsize',14) 14) Modify the code in Subtheme 3, example 3 in order to design an echo filter that produces the original signal y[n] plus three echoes. Assume that the original signal arrives with zero (or negligible delay). The first echo is attenuated by 10% and occurs at 0.8 seconds after the original signal has arrived, the second echo is attenuated by 15% and occurs at 1.3 seconds after the original signal has arrived and the third echo is attenuated by 20% and occurs at 1.8 seconds after the arrival of the original signal. The system will be working at a sampling rate of Fs=8192. Upload the demo sound "splat provided in MATLAB as demonstrated in Subtheme 3, example 3, in order to test your filter. a. Plot the original signal and the echo signal in separate windows, show the time-axis in seconds. b. Use the sound command to hear both signals. c Calculate the Unit-Sample Response of your filter (see Subtheme 3, example 3). d. Calculate the System Function of your filter (see Subtheme 3. example 3). Post whether you consider that the most likely physical environment that could cause such delayed reflection of sound is a: 1) Tennis or basketball court, ii) City blocks in an urban environment with large buildings or ii) Large mountain/canyon type geographical feature. Design an echo filter that produces the original signal plus two echoes. The first echo is attenuated by 203 and occurs at 1 Second. The second echo is attenuated by 30% and occurs at 1.5 Seconds. System Works at Fs=8192. close all clear all load 'splat') N=length(); $y is the default name of the uploaded signal al=0.8; 20% attenuation a2=0.71 $ 30% attenuation td1=1; time delay 1 in seconds td2=1.5; $ time delay 2 in seconds Ts=1/F3; sampling period n1= floor (tdi/Is);_$time delay 1 in samples n2= floor (td2/T3); } time delay 1 in samples h(1)=1; $unit-sample response coefficients h(nl) =a1; h(n2) =a2; vecho=conv (hu); $filter output sound (Y, FS) Hear the original signal n=0: length(y)-1; plot (n*18x); xlabeil seconds', fontsize title( 'Input Signal', 'fontsize' ,14) sound (yesho Hear the output signal with echoes figure n=0:length (vecho)-1; plot (n*Texecho) $ time axis is in seconds xlabei seconds', 'Fontsize' ,14) title ( "Output Signal','fontsize',14) 14) Modify the code in Subtheme 3, example 3 in order to design an echo filter that produces the original signal y[n] plus three echoes. Assume that the original signal arrives with zero (or negligible delay). The first echo is attenuated by 10% and occurs at 0.8 seconds after the original signal has arrived, the second echo is attenuated by 15% and occurs at 1.3 seconds after the original signal has arrived and the third echo is attenuated by 20% and occurs at 1.8 seconds after the arrival of the original signal. The system will be working at a sampling rate of Fs=8192. Upload the demo sound "splat provided in MATLAB as demonstrated in Subtheme 3, example 3, in order to test your filter. a. Plot the original signal and the echo signal in separate windows, show the time-axis in seconds. b. Use the sound command to hear both signals. c Calculate the Unit-Sample Response of your filter (see Subtheme 3, example 3). d. Calculate the System Function of your filter (see Subtheme 3. example 3). Post whether you consider that the most likely physical environment that could cause such delayed reflection of sound is a: 1) Tennis or basketball court, ii) City blocks in an urban environment with large buildings or ii) Large mountain/canyon type geographical feature

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

Solve each equation on the interval 0 2. sin(3) = 1

Answered: 1 week ago

Question

Design an internal skills transfer system through tutoring.

Answered: 1 week ago

Question

2. Identify and choose outcomes to evaluate a training program.

Answered: 1 week ago

Question

6. Conduct a cost-benefit analysis for a training program.

Answered: 1 week ago