2.2) Reducing the undesired effects of noise when a given signal is corrupted by noise with known (partially) statistics. Let x, be the original and x be the measured signal which is affected by additive white Gaussian noise. x[n] = xo[n] + N(n) where N(n) is the noise. Our task is to use moving average filter to extract xo[n] from the observed signal x[n]. Define the original signal as xo[n] = cos (n) + 2cos (n). Define the domain as – 1000 < n< 1000 Generate the noise signal by using randn command i) ii) iii) iv) Add noise signal to the original signal and obtain observed signal x[n]. v) Apply the moving average filter to x[n] and obtain the output y[n]. vi) Implement filter for different M, and M2, i.e M, = M2 = 4,10,20 ... and observe the output. Plot xo[n], x[n] and y[n] for every step. Comment on your %3D vii) results.

Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
icon
Related questions
Question
DSP - Electrical Engineering
2.2) Reducing the undesired effects of noise when a given signal is corrupted
by noise with known (partially) statistics.
Let x, be the original and x be the measured signal which is affected by
additive white Gaussian noise.
x[n] = x,[n] + N(n)
%3D
where N(n) is the noise. Our task is to use moving average filter to extract
xo[n] from the observed signal x[n].
Define the original signal as xo[n] = cos (n) + 2cos (
Define the domain as – 1000 <n < 1000
i)
ii)
iii)
Generate the noise signal by using randn command
iv)
Add noise signal to the original signal and obtain observed signal
x[n].
v)
Apply the moving average filter to x[n] and obtain the output
y[n].
vi)
Implement filter for different M, and M2, i.e M, = M2 =
4,10,20 ... and observe the output.
vii)
Plot xo[n], x[n] and y[n] for every step. Comment on your
results.
Transcribed Image Text:2.2) Reducing the undesired effects of noise when a given signal is corrupted by noise with known (partially) statistics. Let x, be the original and x be the measured signal which is affected by additive white Gaussian noise. x[n] = x,[n] + N(n) %3D where N(n) is the noise. Our task is to use moving average filter to extract xo[n] from the observed signal x[n]. Define the original signal as xo[n] = cos (n) + 2cos ( Define the domain as – 1000 <n < 1000 i) ii) iii) Generate the noise signal by using randn command iv) Add noise signal to the original signal and obtain observed signal x[n]. v) Apply the moving average filter to x[n] and obtain the output y[n]. vi) Implement filter for different M, and M2, i.e M, = M2 = 4,10,20 ... and observe the output. vii) Plot xo[n], x[n] and y[n] for every step. Comment on your results.
Expert Solution
steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Knowledge Booster
ECL logic gate
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,