Question

The signal yb(t) = (V + v(t))w(t), where v(t) = V cos (2πt/T) and w(t) = u(t + T/2 ) − u(t − T/2), is called a Hanning w...

The signal yb(t) = (V + v(t))w(t), where v(t) = V cos (2πt/T) and w(t) = u(t + T/2 ) − u(t − T/2), is called a Hanning window function. Using a computer, calculate the percent of the signal’s total energy that is located in its side lobes. A side lobe is any part of a function that is not a central lobe, and a central lobe is the nonzero portion of a function between its first negative and positive zero crossings.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB:

clc;clear all;close all;
V= 0.5; T=20
t=-T/2:0.01:T/2
v=V*cos(2*pi*t/T)
w=(t>=-T/2 &t<=T/2)
yb=(V+(v.*w))
subplot(211)
plot(t,yb);xlabel('t');ylabel('yb(t)')
title('hanning window')

W=-pi:pi/500:pi
%Fourier transform oof yb(t)
k=0
for W=-pi:pi/1000:pi
k=k+1
Yb(k)=trapz(t,yb.*exp(-j*W*t));
end
W=-pi:pi/1000:pi
subplot(212)
plot(W/pi,(abs(Yb)),'r')
title('Fourier transfrom of yb(t)')
xlabel('w/pi');ylabel('|Yb(jw)|')

E=trapz(W,(abs(Yb).^2))
%Energy presen in side lobes
%The non zero portion of the side lobe is there between w=0.2pi and 0.5pi
Yside=Yb.*((W>=0.2*pi &W<=0.5*pi)+(W>=-0.5*pi &W<=-0.2*pi))
Eside=trapz(W,(abs(Yside).^2))
energypercentage=Eside/E

Plots:

hanning window 1 0.8 0.6 0.4 0.2 0 10 0 -5 -10 Fourier transfrom of yb (t) 12 10 8 6 4 2 0 0.5 0 -0.5 -1 w/pi |Yb(jw)] (1)q

Command window:

>> E
E = 47.124
>> Eside
Eside = 0.024033
>> energypercentage
energypercentage = 0.00050999

Add a comment
Know the answer?
Add Answer to:
The signal yb(t) = (V + v(t))w(t), where v(t) = V cos (2πt/T) and w(t) = u(t + T/2 ) − u(t − T/2), is called a Hanning w...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The signal yb(t) = (V + v(t))w(t), where v(t) = V cos (2πt/T) and w(t) =...

    The signal yb(t) = (V + v(t))w(t), where v(t) = V cos (2πt/T) and w(t) = u(t + T/2 ) − u(t − T/2), is called a Hanning window function. Using a computer, calculate the percent of the signal’s total energy that is located in its side lobes. A side lobe is any part of a function that is not a central lobe, and a central lobe is the nonzero portion of a function between its first negative and positive...

  • A signal is of the form f(t) = 2 cos(2πt) + 3cos(10πt). It is desired to...

    A signal is of the form f(t) = 2 cos(2πt) + 3cos(10πt). It is desired to filter out the higher frequency in the signal using a low-pass filter constructed using a resistance R and a capacitor C =10 μF. What is the value of the resistance R that will attenuate the higher frequency signal to 10% of its original value? What is the corresponding alteration to the low frequency signal?

  • 2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e 2. Ske...

    2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e 2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e

  • So the time domain for this is v(t) = (1-cos(10pi))[u(t) - u(t-0.1)] + 2[u(t-0.1) - u(t-0.15)] + ...

    So the time domain for this is v(t) = (1-cos(10pi))[u(t) - u(t-0.1)] + 2[u(t-0.1) - u(t-0.15)] + (-40t+0.2)[u(t-0.15) - u(t-0.25)] + (-2)[u(t-0.25)-u(t-0.3)] + (2e^(-5(t-0.3)))[u(t-0.3)] but the equation was reduced before converting into S-domain and it was reduced to : v(t) = (-cos(10pi))u(t) + u(t) + cos(10pi)u(t-0.1) + u(t-0.1) - 40(t-0.1))u(t-0.15) + 40(t-0.25)u(t-0.25) + 2u(t-0.3) + 2e^(-5(t-0.3))u(t-0.3) How do you adjust the time delay? Not sure if I understand how it was done, if you can show and explain step by...

  • Exercises: u used to the instructor b the end of next lab. 20 102 Plot the f(t)-sinc(20r) cos(300...

    Exercises: u used to the instructor b the end of next lab. 20 102 Plot the f(t)-sinc(20r) cos(300t)sinc (10t) cos(100t) Use the fast Fourier transform to find the magnitude and phase spectrum of the signal and plot over an appropriate range. Use appropriate values for the time interval and the sampling interval. Note that in Matlab sinc(x)-, so we need to divide the argument by n to make it match the given function. Le, sinc(20t/pi) Hint: Use the parameters from...

  • t 25. Tis w Ciaele the correce wend fos the choices provided 15. The left lobe...

    t 25. Tis w Ciaele the correce wend fos the choices provided 15. The left lobe of the lang has (two, three) lobes; the right Jobe of the lung has (two, three) lobes circulation. 16. The pulmonary circulasion has (Cower, higher) pressure and resistance than the systemic (arteries, veins) run beside 7. Puonary (arteries, veins) are spaced randomly throuphoat e dhe branches of the airways are apaced rasdomly theoughout the lungs, but the pulmonary atriam IS Palmonary veins carry (oxygenated,...

  • [2 Marks] 18. If (z) and u[n]-cos(2n)지지 the correct value of V(z) will be (2z-1) js 2 2zei5-1 2ze-15-1 2 2zel5-12ze-15-1 19. Determine the Z-transform of x[n]. [2 Marks each] n] sinl0n)u[n]0.3"...

    [2 Marks] 18. If (z) and u[n]-cos(2n)지지 the correct value of V(z) will be (2z-1) js 2 2zei5-1 2ze-15-1 2 2zel5-12ze-15-1 19. Determine the Z-transform of x[n]. [2 Marks each] n] sinl0n)u[n]0.3" n] 0.5" cos (10n)u[n] In]-(0.3) u[/n] The transfer function of a discrete time system is H(z)- 20. 1+2z3z Use the inverse Z-transform to determine the system difference equation [4 Marks] 21. An LTI system is described by the following input/output difference equation: yln] 0.12yln x[n] (assume zero initial...

  • HW 2-1. For the RLC circuit in HW 1-2, with the voltage source x(t) as the...

    HW 2-1. For the RLC circuit in HW 1-2, with the voltage source x(t) as the 'input' and the loop current y(t) as the 'output' (20 pts) L-11 R=3.22 yo 1) find its frequency response function H(w). (5 pts) 2) then, find its response to the following input signals, respectively 2-a) x(t)=8(t), (2 pts) 2-b) x(t)=u(t), (3 pts) 2-c) x(t)=sin(10t), (3 pts) 2-d) x(t)=2sin(10t)+cos(20t+1), (3 pts) 3) For the signals in 2), calculate the energy or the average power (whichever...

  • Just solved (Task 2) Just solved (Task 2) Just solved (Task 2) You work as a...

    Just solved (Task 2) Just solved (Task 2) Just solved (Task 2) You work as a technical engineer in a company that designs and installs sound systeins, such as speakers for large halls and open spaces. The company manager has assigned you to design a new sound system for a stadiun, and asked you to make a technical report explaining some preliminary studies on the behaviour of sound waves. Task 1: A When we are designing the sound levels to...

  • 1. Why can the DSO only measure node voltages when the Function Generator is the power supply in ...

    1. Why can the DSO only measure node voltages when the Function Generator is the power supply in a circuit (unless it is using a current probe)? 2. Consider Figure 1. According to the calculations in the lab handout, if Z-1kΩ +/6914, then the phase difference (фи-фі) between u(t) and i (t) is 34.6". a. If this v(t) and i(t) were displayed on a DSO (v(t) being a node voltage and using a current probe for i(t) as shown in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT