Keith22
Junior Member level 1
Can anybody help me with these two questions as im abit stuck on how to do these in matlab
(A) Generate the following Discrete-time signals for N the number of samples = 256 and fs the sampling frequency = 50 Hz. Obtain the Discrete Fourier Transforms of each signal. Plot all results on appropriately labeled graphs. Pay particular attention to the horizontal scales for the time and frequency domains. Commenct briefly on the frequency domain results.
x(nT)= Unit Sample
x(nT)=Unit Step
x(nT)=cos〖(2πfnT)〗, f = 5 Hz
(B)Generate the following discrete time signal. You must choose f_s=1/T and the lowest value N so that the two sinusoidal components of the waveform are clearly separated when the DFT of the waveform is obtained and plotted.
x(nT)=2sin(2π30nT)+sin(2π31nT), n=0,1,2,……N-1.
(A) Generate the following Discrete-time signals for N the number of samples = 256 and fs the sampling frequency = 50 Hz. Obtain the Discrete Fourier Transforms of each signal. Plot all results on appropriately labeled graphs. Pay particular attention to the horizontal scales for the time and frequency domains. Commenct briefly on the frequency domain results.
x(nT)= Unit Sample
x(nT)=Unit Step
x(nT)=cos〖(2πfnT)〗, f = 5 Hz
(B)Generate the following discrete time signal. You must choose f_s=1/T and the lowest value N so that the two sinusoidal components of the waveform are clearly separated when the DFT of the waveform is obtained and plotted.
x(nT)=2sin(2π30nT)+sin(2π31nT), n=0,1,2,……N-1.