Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1. A signal generator is expected to output a pure sinusoidal signal at a given frequency. Unfortunately, due to some subpar components in

Question 1. A signal generator is expected to output a pure sinusoidal signal at a given frequency.

Question 1. A signal generator is expected to output a pure sinusoidal signal at a given frequency. Unfortunately, due to some subpar components in the electronics, the signal is contaminated by white noise over a range of frequencies. Fortunately, the noise does not impact the desired frequency. If hOut is the discretized output of the generator, write a Matlab function hClean = clean (hOut) that removes the noise without affecting the signal. To help you with the problem, I have provided a p code for a function hout= sampleSignal() that provides an example of the type of signal that needs to be cleaned. This is an example. Your cleaning function will be evaluated with signals that may have different target frequencies and/or noise intensity and range so it cannot not assume that the signal is at a given frequency. What you can assume is that the intensity of signal to noise ratio is the same as in the example provided. Figure 1 shows the noisy and the clean signal. Submit the code to Matlab gader and a PDF copy of the code to Gradescope (40 points) 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 0 200 400 600 800 1000 FIGURE 1. Example of Noise and clean signal hOut hClean 1200

Step by Step Solution

3.42 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

Here is a Matlab code snippet that demonstrates how you can design and apply a bandpass filter to cl... 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

Modern Classical Physics Optics Fluids Plasmas Elasticity Relativity And Statistical Physics

Authors: Kip S. Thorne, Roger D. Blandford

1st Edition

0691159025, 978-0691159027

More Books

Students also viewed these Programming questions

Question

What is the use of bootstrap program?

Answered: 1 week ago

Question

What is a process and process table?

Answered: 1 week ago

Question

What is Industrial Economics and Theory of Firm?

Answered: 1 week ago