Plot the frequency response of the filter

Assignment Help Simulation in MATLAB
Reference no: EM131597403

Objectives

The aims of this assignment are:

1.To understand different signal models (course objectives 1 and 2)

2.To be able to model a discrete-time system (course objectives 3). 3.To design simple signal processing algorithms (course objective 4)

Students are expected to communicate their findings and ideas in a clear and logical manner.

Question 1

Part I

Using the audiorecorder() function in MATLAB, make a recording of your voice. Use a sample rate of 8kHz, 16 bits per sample, and aim to record around 2 seconds worth.

Part (a)

Quantize the audio samples down from the original 16 bits by removing the least-significant bit (LSB) from the waveform, to make a 15 bit recording. Repeat for 14, 13, 12 bits, down to 1 bit. Explain how you would do this in MATLAB, and implement your approach.

Part (b)

Listen to the recordings, and make a table with the number of bits and the corresponding quality assessment. This can simply be a subjective assessment; use terms such as ‘no perceptual difference', ‘minor noise present', ‘quite noisy', ‘poor quality' etc. Calculate the signal-to-noise ratio using your data from the previous question, and add that to your table. Explain how you calculated the SNR, and comment on whether it agrees with theoretical predictions.
(a) Explanation & MATLAB coding
(b) Subjective assessment table with SNR

Question 2

This question examines the addition of a (synthetic) echo to the voice recording, such as would be found in a reverberant room.

Part (a)

Use a difference equation of the form

y(n) = x(n) + αy(n - D)

where x(n) is the input audio, y(n) is the output (echoed) audio, D is the echo delay (in samples), and α governs the amount of echo fed back. Select an echo delay of 0.2 seconds, and α = 0.4. Using your reasoning above, implement the reverberation equation, and listen to the result. Experiment with different values of the parameters α and D. In your report, include one sample plot of the waveform, and explain what you found as you tried varying the parameters.

Part (b)

Suppose the equation governing the reverberation is

y(n) = x(n) + αx(n - D)

What is the physical significance of this form, as opposed to that used in equation? Implement an audio echo system based on equation (2), and listen to the results. Comment on what you have found.
(a) Implement echo filter, plot and discuss
(b) Explain equation form, comment & discuss

Part II

Question 3

This question examines discrete-time signal generation, for deterministic and random wave- forms.

Part (a)

Generate and plot a sampled sine wave with fs=8kHz, of 4 seconds duration, with frequency

ωo = π/10 rad/samp and amplitude A = 1.2. The waveform equation is

x(n) = A sin nω

Explain the role of each of the variables in this equation. What is the true (Hertz) frequency generated in this case?

Part (b)

Generate a Gaussian random signal vector, v(n), of the same length. Then generate a noisy signal of the form

y(n) = x(n) + αv(n)

Listen to the resulting signal y(n) for various values of α. You will have to choose the value of α experimentally - try both small and large, and investigate the differences. Plot one of the waveforms, and comment briefly on your results.

(a) Plot clean sinusoidal waveform & comment

(b) Plot waveform with noise & comment

Question 4

This question examines discrete-time filters. A filter of the form

G(z) = z2 (z - p)(z - p∗)

with poles defined by p = reωn will be studied.

Part (a)

With r = 0.95 and ωn = π/10, plot the time response to the input clean sinusoidal waveform generated in the previous question. Show both the transient (initial) and steady-state (after the initial transient) responses.

Part (b)

Plot the frequency response of the filter. Explain all your working, particularly how the z
transfer function is converted to gain/phase plots.

Find the gain and phase from the time-domain response of part (a), and compare to that expected from the frequency response in part (b). Compare the results obtained using these two methods.
(a) Time response (transient+steady-state)
(b) Frequency response (gain+phase) and compare

Reference no: EM131597403

Questions Cloud

Camis substance use : The types of assessments used as part of the diagnostic interview .Identify significant factors that are associated with Cami's substance use.
Identify and describe the various cultures : Culture Clashes Make Change Difficult at SAP. Use the Argosy University online library and the internet for additional research.
Compute the tax loss on the sale and the related tax benefit : Compute the tax loss on the sale and the related tax benefit if the asset is sold now for $24,060.
Identify the final culprit and how it was discovered : Identify three questions that Dr. Greenberg and Dr. Pellitteri asked the patients. Explain why these three questions were relevant.
Plot the frequency response of the filter : Assignment: Signals and Systems - What is the physical significance of this form, as opposed to that used in equation - Explain how you would do this in MATLAB
Briefly describe healthcare and life insurance program : Describe your experience administering/consulting on benefit programs to include healthcare, life insurance, retirement, short/long-term disability.
Bankruptcy abuse prevention and consumer protection act : Set forth the reasons cited for the comprehensive changes to bankruptcy law included in the Bankruptcy Abuse Prevention and Consumer Protection Act of 2005?
How do their roles differ in the labor relations process : Outline the difference in responsibilities of a local union representative, a shop steward, and an international or national union representative.
Evaluate policies and processes-promote diverse workforce : Imagine that you are the HR Director at your current organization or an organization with which you are familiar.

Reviews

len1597403

8/11/2017 1:37:10 AM

75-85: Distinction Very good grasp of the problem. Addresses the question using knowledge from course. Well-argued choice of method or approach as appropriate to the question. Correct grammar and spelling, perhaps with very minor errors. Referenced if appropriate. 65-75: Credit Understands the problem. Addresses the question using knowledge from course. Lacks clarity of expression or uses an imprecise argument. Moderate spelling or grammatical errors. Referenced if appropriate. 50-65: Pass Has some understanding of the problem. Addresses the question but not clearly. Some misconceptions about the question. Moderate spelling or grammatical errors. 0-50: Fail Has little or no understanding of the problem. Does not really address the question. Significant misconceptions or total lack of understanding of the question. Poor spelling and/or obvious grammatical errors.

len1597403

8/11/2017 1:37:02 AM

Marking Marks are awarded as per the marking guidelines at the end of each question. The breakdown of marks will be noted on the PDF file returned to you via the Study Desk. Where an explanation or description is specifically requested, your response will be assessed according to the following: 85-100: High Distinction Excellent grasp of the problem. Explicitly addresses the question, uses knowledge from course and outside. Well-argued choice of method or approach as appropriate to the question. Correct grammar and spelling. Referenced if appropriate.

len1597403

8/11/2017 1:36:56 AM

Objectives The aims of this assignment are: 1.To understand different signal models (course objectives 1 and 2) 2.To be able to model a discrete-time system (course objectives 3). 3.To design simple signal processing algorithms (course objective 4) Students are expected to communicate their findings and ideas in a clear and logical manner.

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the stress intensity factor

Use the three-parameter zone finite element method or the boundary collocation method to calculate the stress intensity factor K, at the crack tip for the plate

  Build a simulation using newtons laws of motion

Build a new and different simulation of your own using Newtons laws of motion and Show the code and describe how it works

  Write the specification of load mover

Write the specification of LOAD MOVER detailed of the whole design and precise for automatic control section and divide the design into various modules and Is the kernel required if yes which one?

  Design the automatic control section using statecharts

Aim of this project is to design an embedded system which can move loads from one place to another. The system can be operated manually, automatically and wirelessly.

  Need an expert who can model a drill in simulink

Need an expert who can model a drill in Simulink. Working model of a drill needing for an improvment to behave more realistically as a drill to drill through plastic block.

  Project is on load frequency control using fpid

Project is on load frequency control using FPID tuned using GA and PSO algorithm and the system is a two area system.

  Number of packets received with time

Let x be the number of packets received with time -

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Simulate the standardised sum of independent

Simulate the standardised sum of independent and identically distributed variates - Fit a linear regression model as in Q5, and plot your estimates for β0 and β1 as N increases, together with a line indicating their true values. Supply your code.

  Plot the original periodic square wave

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

  Use matlab to plot the function

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd