You are on page 1of 11

FLOWCHART: LINEAR CONVOLUTION

Start

Enter the starting index and ending


index for the input sequences

Enter the I/p sequences

Convolve the two input sequences using


convolve command

Display the input and output using


subplot

Stop
FLOWCHART : LINEAR CONVOLUTION USING FAST FOURIER TRANSFORM

Start

Enter the I/p sequences

Calculate the length of two input


sequences x and h

Calculate the length of the o/p sequence


using the formula n=n1+n2-1

Calculate FFT for the input sequences


after appending appropriate number of
zeros

Multiply the FFT of the input sequences

Find the IFFT of the product obtained and


it is the required output

Display the input and output


signals using subplot

Stop
FLOWCHART : CIRCULAR CONVOLUTION USING FAST FOURIER TRANSFORM

Start

Enter the I/p sequences

Calculate the length of two input


sequences x and h

Calculate the length of the o/p sequence


using the command max (n1,n2)

Calculate FFT for the input sequences


after appending appropriate number of
zeros

Multiply the FFT of the input sequences

Find the IFFT of the product obtained and


it is the required output

Display the input and output


signals using subplot

Stop
FLOWCHART: SAMPLING AND ALIASING OF SIGNALS

Start

Get the input signal

Sample the input signal for the


conditions fs>2fm and fs<2fm

Find the FFT for the two sampled


signals

Analyze the result by plotting the input


signal with first sample and second
sample separately in frequency domain

Plot the signals using subplot

Stop
FLOWCHART: CALCULATION OF FFT (FAST FOURIER TRANSFORM) OF A SIGNAL

Start

Get the input signal

Calculate the FFT of the input


signal and let it be ‘y’

Find the magnitude and phase


spectrum for the signal ‘y’

Plot the magnitude and phase


spectrum using subplot

Stop
FLOWCHART: DESIGN OF FIR FILTERS USING RECTANGULAR WINDOW

Start

Get the values of wp, ws, rp, rs

Calculate the order of the filter

Calculate the o/p response for the


rectangular window function

Calculate the magnitude response

Plot the magnitude response for


LPF, HPF, BPF and BSF

Stop
FLOWCHART: DESIGN OF IIR FILTER BUTTERWORTH FILTERS

Start

Get the values of rp, rs, fp,


fs, f

Calculate the order of the filter and the filter


coefficients

Calculate the frequency response and hence find the


magnitude and phase response

Plot the responses for LPF, HPF, BPF and BSF

Stop
FLOWCHART: DESIGN OF FIR FILTERS USING HAMMING WINDOW

Start

Get the values of wp, ws, rp, rs

Calculate the order of the filter

Calculate the o/p response for the


Hamming window function

Calculate the magnitude response

Plot the magnitude response for


LPF, HPF, BPF and BSF

Stop
FLOWCHART: DESIGN OF FIR FILTERS USING HANNING WINDOW

Start

Get the values of wp, ws, rp, rs

Calculate the order of the filter

Calculate the o/p response for the


hanning window function

Calculate the magnitude response

Plot the magnitude response for


LPF, HPF, BPF and BSF

Stop
FLOWCHART: DESIGN OF IIR FILTER CHEBYSHEV-I FILTERS

Start

Get the values of rp, rs, fp,


fs, f

Calculate the order of the filter and the filter


coefficients

Calculate the frequency response and hence find the


magnitude and phase response

Plot the responses for LPF, HPF, BPF and BSF

Stop
FLOWCHART: DESIGN OF IIR FILTER CHEBYSHEV-II FILTERS

Start

Get the values of rp, rs, fp,


fs, f

Calculate the order of the filter and the filter


coefficients

Calculate the frequency response and hence find the


magnitude and phase response

Plot the responses for LPF, HPF, BPF and BSF

Stop

You might also like