How can i make a Moving Average Filter of order 4 for removing the noise from signal?

2 ビュー (過去 30 日間)
Rao Umar
Rao Umar 2015 年 3 月 31 日
コメント済み: Adam Wyatt 2015 年 3 月 31 日
Please give me the answer as soon as possible and the code should be fully explained i submitt my assignment? :( this is my assignment....
1. Generate a sinusoidal signal of frequency 300 with fs=10 KHz and an amplitude of 10. 2. Now generate a noisy signal with frequency 4 KHz with amplitude 1. 3. Add the above two signal resulting in a noisy waveform. 4. Now the task is to remove the additional noise generated as an after effect of the process. 5. Rather than using a non-causal we choose to use 4th order causal moving average filter. 6. Compare the two filters using fvtool. 7. For correct analysis of non-causal system use the freqz command.

回答 (2 件)

Thomas Koelen
Thomas Koelen 2015 年 3 月 31 日
We are not here to do your homework, we are here to help you if you are stuck.Please show us what you've done so far, and give us the signal so we actually know what we are dealing with.
  4 件のコメント
Rao Umar
Rao Umar 2015 年 3 月 31 日
exactly i had done it by filtering commsand but my teacher rejected that and said made it by your own filter by using loop and filter that adding signa

サインインしてコメントする。


Adam Wyatt
Adam Wyatt 2015 年 3 月 31 日
It doesn't look like you have fs=10kHz in (2) since you are aliasing that signal. Anyway, filtering can be achieved using the filter command - it even has an example of a moving filter average in the * DOCUMENTATION *.
  2 件のコメント
Rao Umar
Rao Umar 2015 年 3 月 31 日
Adam Wyatt exactly i had done it by filtering commsand but my teacher rejected that and said made it by your own filter by using loop and filter that adding signal
Adam Wyatt
Adam Wyatt 2015 年 3 月 31 日
Then clearly you don't understand what you are supposed to do, so speak to your teacher and not ask others to do your homework.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFilter Analysis についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by