Question

In: Electrical Engineering

Algorithm Enter the pass band ripple (rp) and stop band ripple (rs). Enter the pass band...

Algorithm

  1. Enter the pass band ripple (rp) and stop band ripple (rs).
  2. Enter the pass band frequency (wp) and stop band frequency (ws).
  3. Get the sampling frequency (fs).
  4. Calculate normalized pass band frequency, and normalized stop band frequency w1 and w2 respectively.           

w1 = 2 * wp /fs            

w2 = 2 * ws /fs

  1. Make use of the following function to calculate order of filter

Butterworth filter order                       

[n,wn]=buttord(w1,w2,rp,rs)

  1. Design an nth order digital lowpass Butterworth filter using the following statements. Butterworth filter [b, a]=butter (n, wn)

OR

Design an nth order digital high pass Butterworth filter using the following statement. Butterworth filter [b,a]=butter (n, wn,’high’)

  1. Find the digital frequency response of the filter by using ‘freqz( )’ function

[H,w]=freqz(b,a,512,fs)

  1. Calculate the magnitude of the frequency response in decibels (dB)

mag=20*log10 (abs (H))

  1. Plot the magnitude response [magnitude in dBversus normalized frequency (Hz)]
  2. Calculate the phase response using an = angle (H)
  3. Plot the phase response [phase in radians Vs normalized frequency (Hz)]

Program

Output

Solutions

Expert Solution


Related Solutions

1) a) Give daily examples of low pass, high pass, band pass and band stop filters....
1) a) Give daily examples of low pass, high pass, band pass and band stop filters. b) Design 4 filter circuits with active circuit elements .(design according to the frequencies below.) Low Pass Filter Working circuit frequency (highest limit) = 5 kHz High-pass Filter Operating frequency of the circuit(lowest) = 5 kHz Band pass Filter Working circuit Frequency range = 5kHz-15kHz Band stop Filter Working circuit Frequency range = 5kHz-15kHz c) Prove that the output of each filter provides the...
Give examples of 3 distinct types of filters (band pass, high pass, and low pass). Create...
Give examples of 3 distinct types of filters (band pass, high pass, and low pass). Create a diagram and a statement of the characteristic frequency scale of each in terms of the component values in the circuit.
ı need an explanation filter types sound related ( low-pass, high pass, bandpass, band reject) but...
ı need an explanation filter types sound related ( low-pass, high pass, bandpass, band reject) but what ı need is not contactor projection, more written explanation
Design a wide band pass filter with fL = 500 Hz, fH = 2kHz and a...
Design a wide band pass filter with fL = 500 Hz, fH = 2kHz and a pass band gain of 10.
Consider the noncoherent receiver consists of two paths; the band-pass filter in the top path is...
Consider the noncoherent receiver consists of two paths; the band-pass filter in the top path is tuned to the carrier frequency representing symbol 1, and the band-pass filter in the lower path is tuned to the alternative carrier frequency representing symbol 0. These two filters are followed by a pair of energy-level detectors, whose outputs are applied to the comparator to recover the original binary data stream. Similarly, the noncoherent BFSK receiver is twice as complex as the noncoherent BASK...
Using Matlab, Design a Band-Stop Filter (BSF) that removes frequencies from 500Hz to 1000Hz in a...
Using Matlab, Design a Band-Stop Filter (BSF) that removes frequencies from 500Hz to 1000Hz in a signal that is sampled at 10kHz. Compare an elliptic filter of order 12 and 6 to an order-12 Yule-Walker filter design Plot the magnitude of the two designs on the same plot.
In java, write a program that asks the user to enter a character. Then pass the...
In java, write a program that asks the user to enter a character. Then pass the character to the following methods. isVowel() – returns true if the character is a vowel isConsonant() – returns true if the character is a consonant changeCase() – if the character is lower case then change it to upper case and if the character is in upper case then change it to lower case. (return type: char) Example output is given below: Enter a character...
Part 5 The frequency response of RLC circuits : Design a passive filter: Band Pass, ISM...
Part 5 The frequency response of RLC circuits : Design a passive filter: Band Pass, ISM Band 433.050 MHz to 434.790 MHz . Prepare a report to describe your design. Your results should include the following : i. Simulation of the designed filters by using any simulation software. ii. Attach a 1 kΩ resistor as a load to the initial design of your filter. Explain how the transfer function change. Does the type of filter change? Does the cut-off frequency...
Design a second-order band-pass filter using resistors and capacitors for a microphone for a hearing aid,...
Design a second-order band-pass filter using resistors and capacitors for a microphone for a hearing aid, which allows signals in the range of 1 to 16 kHz to pass through. For the component values that you chose, at what frequency is the transfer function at a maximum?
User is asked to enter a series of numbers. That input will stop when user enters...
User is asked to enter a series of numbers. That input will stop when user enters -9999. Find a maximum number from that series and a minimum number from that series. Output the location of Maximum number and minimum number.  Write a C++ program that asks the user to repeatedly input positive numbers until   -1 is pressed. Your program should print the second largest number and the count of even and odd numbers.  Write a C++ program that asks...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT