Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

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

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92406116
  • Price:- $100

Guranteed 48 Hours Delivery, In Price:- $100

Have any Question?


Related Questions in MATLAB

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As