July 6, 2015

3 Emg

Matlab

matlab code window

Fig : Matlab code to design a butterworth band stop filter of

  • amount of ripple allowed in the pass band in decibels = 1 dB
  • frequency at the start of the pass band = 2π/8 rad/sec
  • frequency at the end of the pass band = 6 π/8 rad/sec
  • frequency at the end of the first stop band =3π/8 rad/sec
  • frequency at the start of the second stop band=5π/8 rad/sec
  • attenuation in the first stopband in decibels = 60 dB

More design specifications can be found in mathwork :

http://www.mathworks.com/help/dsp/ref/fdesign.bandstop.html

figure visualisation in matlab

figure visualisation in matlab

Lab-view

The design of a 4th order butterworth, bandstop filter at a lower cutoff frequency of 45 Hz and upper cutoff frequency of 55 Hz is realized as shown. The filter options can be found in the signal processing toolkit in labview.

lab view


Leave a Reply

Your email address will not be published. Required fields are marked *