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.
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:
Command window:
>> E
E = 47.124
>> Eside
Eside = 0.024033
>> energypercentage
energypercentage = 0.00050999
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...
The signal x(t)=cos(2πt) is ideally sampled with a train of impulses. Sketch the spectrum Xδ(f) of the sampled signal, and find the reconstructed signal x(t), for the following values of sampling period Ts and ideal lowpass reconstruction filter bandwidth W': (a) Ts = 1/4, W' = 2 (b) Ts= 1, W' = 5/2(c) Ts = 2/3, W' = 2
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?
1. Signal f(t) : (5 + rect( )) cos(60πt) is mixed with signal cos(60πt) to produce the signal y(t). Subsequently, COS y(t) is low-pass filtered with a system having frequency response H(w) = 4recG ) to produce q(t). Sketch F(w),Y(w), Q(u), and determine q(t) 2. If signal f(t) is not band-limited, would it be possible to reconstruct f(t) exactly from its samples f(nT) taken with some finite sampling interval T> 0? Explain your reasoning
1. Signal f(t) : (5 +...
efficients Wi for the signal w(t) sin(16rt) 14. (8 pts) Determine the FS coefficients W, for the signal w(t) 3 cos(12rt)-5 sin(16rt). (c) (9 pts) Suppose a MATLAB anonymous function X already exists that correctly defines X() Write MATLAB code that uses X to reconstruct and then plot a 10-periodic replication of e(t) over-10sts10.
efficients Wi for the signal w(t) sin(16rt) 14. (8 pts) Determine the FS coefficients W, for the signal w(t) 3 cos(12rt)-5 sin(16rt).
(c) (9 pts) Suppose...
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
1. Given a baseband signal m(t) sin(1000mt) cos(3000nt) + cos(3700nt a. Sketch the spectrum of m(t) (Hint. sin(a) cos(b) 0.5 sin(a +b) +0.5sin a-b)) b. Sketch the spectrum of DSB-CS signal m(t)cos(10000mt) C ldentify the upper sideband {USB) and lower sideband (LSB) spectra d. Give the black diagram of the receiver to receive DSB-CS signal in (b). 2. baseband signal m(r)--0.5 + Σ..小(t-n)-u(t-0.5-n)] where ult) is the Given unit step function, an amplitude modulated signal is as SAM 107+ m(0cos...
(a) Determine the period, amplitude, and frequency of a signal given by, v(t) (120nt). Plot this signal both in the time-domain and frequency domain. (b) For the following square wave v(t), determine if it is a periodic signal, and if yes, what 10 V sin 4. [61 are its amplitude, period T and fundamental frequency f? Why do we need to convert this signal into sine/cosine wave for transmission? 2 o-oims (c) () According to Fourier Theorem, the above signal...
w R Vinn Vou V. R W (a) (b) An alternating square wave signal f(t) has frequency, f = 1 kHz, peak-to-peak voltage, Vpp = 8 V and zero DC offset. (10 pts) A. Given that Vin(t) = f(t), find the steady-state output voltage value for Circuit (a) when i. Vin(t) > 0; ii. Vin(t) <0. B. Given that Vin(t) = f(t), find the steady-state output voltage value for Circuit (b) when i. Vin(t)>0; ii. Vin(t) <0. C. Given that...
3. The projection theorem we learned in class focuses on projecting onto subspaces. In general, W, the set you are projecting onto, does not actually have to be subspace of V. (a) Let a and b be nonzero vectors in an inner product space (V,(,)) with a not a scalar multiple of b. Define W-(a+ bt where t E R} which is a subset of V. Show that W is not a subspace of V. (b) Given u in V,...