Rectangular window Assignment Help

Assignment Help: >> Window functions in Design of FIR digital filters >> Rectangular window

The rectangular window described over - (N-1)/2 ≤ ≤ (N-1)/2 is provided by

1665_Rectangular window.png

%Rectangular window defined over n = -(N-1)/2 to (N-1)/2

% w(n) = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}

N = 11; n = -(N-1)/2: (N-1)/2; wn = n-n+1;

stem (n, wn); xlabel('n'), ylabel('w(n)'); grid

 

2238_Rectangular window9.png

The Fourier transform (spectrum) of the window is

1268_Rectangular window1.png

922_Rectangular window2.png

We may simplify the above in one of two types. One possibility is

184_Rectangular window3.png

In frequency response plots that is usually regarded as a reference phase, that is, as the 0 dB level. That is, the relation for W (ejw) is normalized by splitting it by its number at dc, N in that case:

2292_Rectangular window4.png

The second function to simplify W (ejw) is to large pairs of terms, one from every end of the expression,

into a cosine ÷ terms and could be normalized by dividing by N.

1941_Rectangular window5.png

That takes of (1+N-1/2)  terms and could be normalized by dividing by N.

Taking the equation W (ejw )=  1/N sin (ωN/2)/(sin(ω/2) , its zero-crossings happen when ωN/2) equals integer multiples of π, that is,

14_Comparison of two rectangular windows.png

The spectrum between the zero-crossings at - (2π/N) and (2π/N) is known the main lobe, the remaining lobes are known as side lobes. The width of the main lobe is

Width of the main lobe = 2(2π/N) = 4π/N

Width of each side lobe = 2π/N

As the size of the window, N, is gained the lobes become narrower; also the height of the main lobe increases (= N). However, with reference to the related frequency response 

1954_Rectangular window6.png

the length of the main lobe, |(e)]|w=0, stays at 1 (or 0 dB) while the other lobes keep going smaller with increasing N

In the MATLAB segment below the window is described over 0 ≤ n ≤ (N-1) rather than over - (N-1)/2 ≤ n ≤ (N-1)/2.

 

%Frequency response of rectangular window defined over n = 0 to N-1

% h(n) = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}

b11= [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], a= [1]

w=-pi: pi/256: pi; Hw11=freqz(b11, a, w);

subplot(2, 1, 1), plot(w, abs(Hw11)); legend ('Magnitude (Length = 11)'); xlabel('Frequency \omega, rad/sample'), ylabel('Magnitude of H(\omega)'); grid subplot(2, 1, 2), plot(w, angle(Hw11)); legend ('Phase');

xlabel('Frequency \omega, rad/sample'), ylabel('Phase of H(\omega)'); grid

 

Note in the plot given that the height of the main lobe is 11 (= N). The width of the main lobe is provided as the separation between the zero crossings on either side of ω = 0:

Width of main lobe = 4π/N = 4π/11

From the plot, by eyeballing, we may gather:

1.   For a provided window size the side lobes have the similar width.

2.   For a provided window size the magnitude of the side lobes decreases with increasing frequency

1676_Rectangular window8.png

 

Email based Rectangular window assignment help - Rectangular window homework help at Expertsmind

Are you finding answers for Rectangular window based questions? Ask Rectangular window questions and get answers from qualified and experienced  Digital signal processing tutors anytime from anywhere 24x7. We at www.expertsmind.com offer Rectangular window assignment help -Rectangular window homework help and  Digital signal processing  problem's solution with step by step procedure.

Why Expertsmind for Digital signal processing assignment help service

1.     higher degree holder and experienced tutors

2.     Punctuality and responsibility of work

3.     Quality solution with 100% plagiarism free answers

4.     On Time Delivery

5.     Privacy of information and details

6.     Excellence in solving Digital signal processing queries in excels and word format.

7.     Best tutoring assistance 24x7 hours

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd