I’m generating a 1 kHz square wave and adding Guassian noise to obtain a SNR of 0 dB (using Matlab6.5). The task is to design a filter that will filter out as much noise as possible from the square wave plus noise signal.(adsbygoogle = window.adsbygoogle || []).push({});

The sampling frequency is 100kHz.

Noise signal: 100.0*randn(1, length(t))

Square wave: 100*square(2*pi*1000*t)

What else do I need to know in order to design this filter using Butterworth or Chebyshev I or any filter? How do I determine the cut-off frequency for my filter?

The MATLAB function filter(B,A,x) will be used for the time-domain filtering operation.

I've started out by considering the frequency characteristics of each signal, but don't know how that will help i the design process.

Any help will be greatly appreciated.

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Filtering Guassian noise with Matlab

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**