Using the matlab fda tool for designing a notch filter
Creating a 50 Hz notch filter for data collected at 1500 HZ.
The following parameters were entered into the Matlab fda tool for designing filters.
Filter Type= band stop Design Method= IIR Butterworth Filter Order Specify Order= 2 Frequency Specifications Fs= 1500 Hz , Fc1=48, Fc2=52 Under the menu option in the fdatool, select Convert To Single Section The Single Section, Direct Form II coefficients from Matlab are: Numerator: 0.9916918276 , -1.9401100454 , 0.9916918276 Denominator: 1.0 , -1.9401100454 , 0.983383655 This translates into the following Visual3D plugin coefficients /A0=0.9916918276 /A1=-1.9401100454 /A2=0.9916918276 /B1=1.9401100454 /B2=-0.983383655 These coefficients are entered into the following Visual3D command Butterworth_Filter ! /SIGNAL_TYPES= ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_NAMES= ! /RESULT_FOLDER=PROCESSED ! /RESULT_SUFFIX= /A0=0.9916918276 /A1=-1.9401100454 /A2=0.9916918276 /B1=1.9401100454 /B2=-0.983383655 ! /NUM_REFLECTED=50 ! /TOTAL_BUFFER_SIZE=50 ! /NUM_BIDIRECTIONAL_PASSES=1 ;