MATLAB Filtering Guassian noise with Matlab

  • Thread starter guru
  • Start date
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.
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.
Last edited:

Want to reply to this thread?

"Filtering Guassian noise with Matlab" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving