Use MATLAB to read an audio file. Design a low pass FIR filter with fi= fm...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use MATLAB to read an audio file. Design a low pass FIR filter with fi= fm where fm is maximum frequency component in the spectrum. Now, design a high pass FIR filter with fn = fm. Pass the original audio signal through these filters and store the outputs in two separate variables y_lp and y_hp respectively. Now, use MATLAB built-in functions to compute Fourier Transform of y_lp and y_hp. Add the resultant transforms to obtain f_out. Transform f_out back to the time domain and obtain the following: a. Display the plot of amplitude per sample. b. Display the single-sided amplitude vs frequency spectrum plot of original signal, y_lp, and y_hp. c. Comment on the resultant signal's audio quality. d. Change the values of fi and fn such that the resultant signal is exactly equal to the original audio signal. Use MATLAB to read an audio file. Design a low pass FIR filter with fi= fm where fm is maximum frequency component in the spectrum. Now, design a high pass FIR filter with fn = fm. Pass the original audio signal through these filters and store the outputs in two separate variables y_lp and y_hp respectively. Now, use MATLAB built-in functions to compute Fourier Transform of y_lp and y_hp. Add the resultant transforms to obtain f_out. Transform f_out back to the time domain and obtain the following: a. Display the plot of amplitude per sample. b. Display the single-sided amplitude vs frequency spectrum plot of original signal, y_lp, and y_hp. c. Comment on the resultant signal's audio quality. d. Change the values of fi and fn such that the resultant signal is exactly equal to the original audio signal.
Expert Answer:
Answer rating: 100% (QA)
To read an audio file in MATLAB you can use the audioread function For example if the file is named audiowav you can read it using the following code ... View the full answer
Related Book For
Digital Signal Processing
ISBN: ?978-0133737622
3rd Edition
Authors: Jonh G. Proakis, Dimitris G.Manolakis
Posted Date:
Students also viewed these accounting questions
-
g Design a low pass Cheby filter that will meet the following specifications: Maximum attenuation in the pass band 0.2 db Minimum attenuation in stop band - 30 db Wp 15 Khz Ws 25Khz You may use...
-
Plot the amplitude spectrum for the signal f2(t) 2 f t in Fig. 17.56(b). Consider the first five terms.
-
Design an FIR filter that completely blocks the frequency 0 = /4 and then computer its output if the input is x (n) = (sin /4n) u (n) for n = 0, 1, 2, 3, 4. Does the filter fulfill your expectation?...
-
Assume that you are purchasing an investment and have decided to invest in a company in the digital phone business. You have narrowed the choice to Best Digital, Corp., and Every Zone, Inc., and have...
-
Oscar and Harriet agree to exchange apartment buildings and the mortgages on the buildings, with any difference in value to be paid in cash. Particulars of their respective buildings are as follows:...
-
On July 01, 2010, Ashok Ltd. Purchased a Machine for 1,08,000 and spent 12,000 on its installation. At the time of purchase it was estimated that the effective commercial life of the machine will...
-
The long straight wire in Figure P29.17 carries a current \(I\) that varies in time as \(I=I_{0} \sin (\omega t)\), and a loop of wire is held stationary near the straight wire. When is the induced...
-
Rantzow-Lear Company buys and sells securities expecting to earn profits on short-term differences in price. The company's fiscal year ends on December 31. The following selected transactions...
-
19. Consider the given arrangement. The two slits S and S are illuminated by monochromatic light of wavelength A. Slits S3 and S4 are at separation d minimum intensity on the screen will be 2.D =...
-
Consider the spring-mass system shown below. A mass of m 5 kg has stretched a spring by So= 1.5 meters and is at rest. A damping system is connected that provides a damping force equal to 30 times...
-
If a force of 36 N stretches a spring 0.3 m beyond its natural length, how much work does it take to stretch the spring 4.5 m beyond its natural length? The amount of work done isJ. (Simplify your...
-
At a typical location in the United States, the earth's magnetic field has a magnitude of \(5.0 \times 10^{-5} \mathrm{~T}\) and is at a \(65^{\circ}\) angle from the horizontal. What is the flux...
-
The voltage across a \(60 \mu \mathrm{F}\) capacitor is described by the equation \(v_{\mathrm{C}}=(18 \mathrm{~V}) \cos (200 t)\), where \(t\) is in seconds. a. What is the voltage across the...
-
Three resistors in parallel have an equivalent resistance of \(5.0 \Omega\). Two of the resistors have resistances of \(10 \Omega\) and \(30 \Omega\). What is the resistance of the third resistor?
-
If a patient receives a series of jolts, the resistance of the torso may increase. How does such a change affect the initial current and the time constant of subsequent jolts? A. The initial current...
-
A \(100 \mathrm{~W}\) lightbulb is brighter than a \(60 \mathrm{~W}\) lightbulb when both operate at the same voltage of \(120 \mathrm{~V}\). If, instead, they were both operated at the same current...
-
On January 1, 20X2, Mr. X loaned an entrepreneur $25,000 at 5% annual interest. Mr. X also incurred loan registration fees of $750. In 20X5, Mr. X setup a reserve for unpaid interest of $3,000 as he...
-
After looking at the resources, explain what a spirit image is. Why might looking at a god and/or a human in terms of their spirit be helpful if you want to eliminate some of the divisions between...
-
Show that the system in figure isequivalent. rsin un (n) x(n) rcos wp rcos un -rsin un (n) y(n) 2rcos an
-
Let xa(t) be an analog signal with bandwidth B = 3 kHz. We wish to use a N = 2m point DFT to compute the spectrum of the signal with a resolution less than or equal to 50 Hz. Determine (a) The...
-
Determine the mean and the autocorrelation of the sequence x(n). Which is the output of a ARMA (1, 1) process described by difference equation x(n) = x(n 1) + (n) (n 1) Where (n) is a white noise...
-
Use Minitab to obtain the results of Tukey's test for the shear bond strength data from Example 1 in Section 13.1. Approach The steps for obtaining the results of Tukey's test using Minitab, Excel,...
-
Another scientist examines how the presence of a nonnative bird species, the starling, affects other species of birds. Is this a population-level study, a community-level study, or an ecosystem-level...
-
What is the function of the placenta?
Study smarter with the SolutionInn App