Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with Matlab . Write a program to smooth a random signal using averaging. First generate a noised sin wave (from 0 to 4pi)

Please help with Matlab
image text in transcribed
. Write a program to smooth a random signal using averaging. First generate a noised sin wave (from 0 to 4"pi) (e.g, sin + 0.2 * rand). Then use three-pointer averaging method yn (X-1+Xn+ Xn+1)/3 to smooth the signal. Finally, plot the original and smoothed signals using subplots. Bonus design: try different averaging operator, for example, five-point averaging filter = (xn-2 + Xn-1 + Xn + Xn+1 + Xm2)/5, and weighted three-pointer filter yn-(Xn-1 + 2* Xn + yn Xn+1)/4, and compare the smoothing effects. Oringal noise signal 2 10 12 14 Smoothed signal 8 10 12 14 . Write a program to smooth a random signal using averaging. First generate a noised sin wave (from 0 to 4"pi) (e.g, sin + 0.2 * rand). Then use three-pointer averaging method yn (X-1+Xn+ Xn+1)/3 to smooth the signal. Finally, plot the original and smoothed signals using subplots. Bonus design: try different averaging operator, for example, five-point averaging filter = (xn-2 + Xn-1 + Xn + Xn+1 + Xm2)/5, and weighted three-pointer filter yn-(Xn-1 + 2* Xn + yn Xn+1)/4, and compare the smoothing effects. Oringal noise signal 2 10 12 14 Smoothed signal 8 10 12 14

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

5. How do instructional objectives help learning to occur?

Answered: 1 week ago

Question

4. Help trainees set challenging mastery or learning goals.

Answered: 1 week ago