Question

In: Electrical Engineering

Signals and systems Consider the following discrete signal x[n] = sin(π n/32) (u[n]-u[n-33]) a) Using MATLAB...

Signals and systems

Consider the following discrete signal x[n] = sin(π n/32) (u[n]-u[n-33])

a) Using MATLAB only, Find the DFT using FFT algorithm,

b) Plot the signal x[n], spectrum |X(ω)|^2 , and phase of X(ω).

Hint: use L=512 for FFT.

Solutions

Expert Solution


Related Solutions

Use and provide Matlab for the following: Generate the discrete-time signal x[n] = 4 cos (2pi....
Use and provide Matlab for the following: Generate the discrete-time signal x[n] = 4 cos (2pi. 10. nT5) + 2cos(2pi. 100. nT5) + 3cos(2pi 200. nT's), with Ts0.001 sec. Display the signal in both time and frequency-domain. Assume that the 100 Hz component of x [n] is your desired signal while the other two components are noise. Design a suitable filter to extract the desired (i.e. 100 Hz) signal. Display the filter's response. Display the output signal in the frequency-domain....
Consider the finite duration signal x(n) = (0.9)ncos(0.1πn) for 0 ≤ n ≤ 31. Using MATLAB:...
Consider the finite duration signal x(n) = (0.9)ncos(0.1πn) for 0 ≤ n ≤ 31. Using MATLAB: a.) Plot the signal b.) Plot the real part of the DFT of x(n), the imaginary part of the DFT of x(n) and the DCT of x(n). All transforms are length N = 32.
4. For a signal x(n)=sin(2*pi*n/3) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow...
4. For a signal x(n)=sin(2*pi*n/3) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph. (Use decimation in frequency Algorithm)     
For a signal x(n)=sin(2*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph....
For a signal x(n)=sin(2*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph. (Use decimation in Time Algorithm).                                               
4. For a signal x(n)=sin(4*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow...
4. For a signal x(n)=sin(4*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph. (Use decimation in Time Algorithm).                                                
For a signal x(n)=sin(2*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph....
For a signal x(n)=sin(2*pi*n/5) defined for n=0to7, evaluate the Fast Fourier Transform using signal flow graph. (Use decimation in Time Algorithm).                                               
Consider a discrete-time periodic signal x [ n ]   =   cos ( 0 . 7 πn ) (1)...
Consider a discrete-time periodic signal x [ n ]   =   cos ( 0 . 7 πn ) (1) Determine the fundamental period of x[n]. (2) Suppose x[n] is obtained by sampling the continuous-time signal  x ( t )   =   cos   ( πt ), by letting the sampling period to be T s =   0 . 7 and considering the sample values at each n. Is the Nyquist sampling conditions satisfied in this case? Explain and relate this to the answer given before. (3) Under that conditions would...
Write as a MatLab script For X=-2π~2π with intervals of π/100. a. Plot Y1=sin(X) as a...
Write as a MatLab script For X=-2π~2π with intervals of π/100. a. Plot Y1=sin(X) as a red line. Add a grid. b. Plot Y2=cos(X) as a black dotted line. Add a grid. c. Plot Y1 and Y2 in the same plot without using the hold on/off command. d. For Y3= Y1 times Y2, plot Y1, Y2 and Y3 in the same graph. Y3 will be green line. Add title, axis label and a legend.
Consider the following periodic signal : x(t)=∑∞n=−∞Π(t−4n2). 1. Determine and plot the spectrum Fourier Transform of...
Consider the following periodic signal : x(t)=∑∞n=−∞Π(t−4n2). 1. Determine and plot the spectrum Fourier Transform of signal x(t) ( For plot : Use only interval n=-2 to n=2). 2. Based on the result obtained in part one. Determine Complex Exponential Fourier Series, and trigonometric Fourier Series. 3. Evaluate the energy spectral density of the periodic signal x(t) in rang (n=-2 to n=2)
Using Matlab, Write a script that validates the relationship between sin u, cos u, and tan...
Using Matlab, Write a script that validates the relationship between sin u, cos u, and tan u by evaluating these functions at suitably chosen values. Please screenshot Matlab screen. Thank you!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT