Observation of the Effects of the Fourier Transformation on Periodic Signals ECE 521. Project 2

Size: px
Start display at page:

Download "Observation of the Effects of the Fourier Transformation on Periodic Signals ECE 521. Project 2"

Transcription

1 Observation of the Effects of the Fourier Transformation on Periodic Signals ECE 521 Project 2 June 21, 2007

2 Abstract In this project we compared several signals with their Fourier Transforms in the frequency domain. Using MATLAB as the tool to make these comparisons six different waves were examined: an even square wave, a 60% pulse, a 20% pulse, a 10% pulse a triangular wave, and a cosine wave. Each of these waves were plotted in the time domain. This was then compared to the resulting plot from the Fourier transform applied to each signal. The purpose of this was to gain a better understanding of the relationship between the time and frequency domain of a signal. The next objective for was to zero-pad each of the above signals. This doubled the number of samples taken and artificially gave a better resolution of the signal in the frequency domain. This was shown by performing the Fourier Transform on these padded signals. Again graphs of the time and frequency domain of the signal were compared to note the effects of padding the signal and what is meant in each domain. Finally the values with the highest amplitude in the frequency domain were isolated, the top 20 and top 3, and then used to reconstruct the original signals. The results were then compared with the original signal for both padded and unpadded signals to determine the effects on accurate signal reconstruction.

3 Technical Discussion In order to get the signal in the frequency domain we implemented the fast Fourier transform (FFT) in MATLAB. The FFT is an efficient algorithm to compute the discrete Fourier transform and its inverse. Often used in signal processing MATLAB uses the following algorithms to compute the Fourier transform and it's inverse: N X k = j =1 x j Nj -1 k -1 N x j = 1/ N k = 1 X k - N j -1 k -1 where N =e - 2 i / N Some of the signals proved to be challenging to make in MATLAB because there was not a unit step function available. To overcome this we extensively used the abs command while limiting the time. Doing so allowed us to create what was essentially a unit step. We set boundaries for each signal in the time domain, to limit the output in our graphs to one period, and proceeded to plot our time domain functions and their Fourier Transforms. For the zero-padding, the zeros command was used to define an array with the same number of zeros as there was samples previously. This array was concatenated to the end of our signal function arrays. The effect of this was adding another period to the time domain equal to zero. The fast Fourier Transform was used once more to get our new padded frequency domain signals that appeared to be of higher resolution. To isolate the highest values in the frequency domain MATLAB s sort command was used to create a new array comprised of the absolute values of the signal function in the frequency domain in descending order. The 20th value was then taken from this array to determine the minimum value to keep from the signal array. The absolute value of the original signal for values greater than or equal to this minimum value was then taken, resulting in a signal composed of only the 20 highest values. The inverse fast Fourier transform (IFFT) of the signal with these 20 values was used to reconstruct each of the signals in the time domain. The same procedure was applied to the padded signals to obtain new signals with only the 20 highest values which were in turn reconstructed in the time domain. The three time domain signals, original, 20 highest, and padded 20 highest were then plotted together to compare the relative accuracy of the signal reconstruction. All of this was then repeated with only the top 3 values being used to reconstruct the signal.

4 Results Figure 1 displays our even square wave, and its Fourier Transform, the sinc function. Based on our knowledge of the subject, this was expected. When we look at Figure 2, a 60% pulse wave and its corresponding transform, we notice that in the time domain the signal holds the value 1 longer, and in the frequency domain the sinc function drops more slowly from its peak. Figure 3, for our 20% pulse, demonstrates this further as this sinc function has a wider base than our previous figures. This continues for our 10% pulse in figure 4. For our triangular wave in figure 5, we see that we are given a very steep sinc function in the frequency domain. In figure 6, our time domain cosine function gives a frequency domain signal of 2 impulses. The next group of figures displays the functions with their zero-padding. For Figure 7, our square wave goes through one period and then all its other values equal 0. As we look at our F.T., we notice that our signal s frequency doubled, and therefore increased the number of total frequencies at which it exists. These results are the same for all of the figures 7 through 12. The frequencies are doubled, and the total number of frequencies used by each function increases. Figure 13 shows our original square wave function, and two other similar graphs. The first shows the signal reconstructed from the 20 highest amplitude frequency values. Here we begin to see some overshooting of our original signal. Notice the last signal. It is zero-padded. This especially once it is supposed to go to zero, when it s reconstructed, has overshooting and error. Figure 14 shows similar, if smaller, issues with our 60% pulse, likely due to the fact that the original function is always positive. For Figure 15, our 20% pulse becomes smaller and smaller as it is reconstructed from 20, and then zeropadded and reconstructed. In Figure 16, the noticeable issues with the reconstructed signals are the same as with Figure 15. Figure 17 shows that our triangular wave is fairly well reconstructed for those values, even when zero-padded. We see that in Figure 18, our cosine signal was nearly perfectly reconstructed, until we tried with the padded signal, which caused it to warp in several places. Finally in the three-value reconstruction, our figures show more error and overshooting than above due to the extremely limited number of samples to reproduce the signal from. The square wave in Figure 19, once padded and reconstructed resembles a stepped sine function with diminished amplitude. Our pulses, 60%, 20%, and 10% and triangular wave, are all recreated as cosine and sine waves (cosine for the pulses, sine for the triangular) with lower amplitudes than their original signals. Lastly, our cosine function, while reconstructed nearly perfectly from the 3 samples, loses some of its amplitude when recreated from the padded signal. When constructed with 20 highest values and not 20 highest padded value the signal was closer to the original signal when reconstructed, as expected. On the triangle and cosine wave one can see how it may be beneficial to pad the wave, as the reconstruction was

5 relatively unaffected, but the increase in resolution was still present in the frequency domain allowing for a wider range of frequencies present. The construction with 3 highest padded values was not as good as the 20 highest values, again, as expected. It came close to accurately reconstructing the cosine and the triangle function even with these values. Many of the signals came out looking like the cosine function due to the lack of data from which to reconstruct the signal. From this lab we were able to learn the effects of padding and on what results it produces on different types of waves. Depending on what result we are looking for and the type of signal padding may or may not be a practical means of gaining a broader range of frequencies.

6 Data Figure 1 Figure 2

7 Figure 3 Figure 4

8 Figure 5 Figure 6

9 Figure 7 Figure 8

10 Figure 9 Figure 10

11 Figure 11 Figure 12

12 Figure 13 Figure 14

13 Figure 15 Figure 16

14 Figure 17 Figure 18

15 Figure 19 Figure 20

16 Figure 21 Figure 22

17 Figure 23 Figure 24

18 Code % % Lab2 ECE 521 % Emily Cohen, Bharat Sharma, and Michael Barnes % clc; clear all; close all; %1. Generate and plot 512 samples of the following periodic signals with %period 100 milliseconds (fs=5khz): %2. Use the FFT to compute the DFT of the above signals. Plot your results. n=512; %number of samples f=5000; %frequency t_min=0; t_max=0.1; %100 milliseconds t_step=(t_max-t_min)/n;% this divides the period up into n steps t=0:t_step:t_max-t_min-t_step; %1a. An even square wave time domain figure; y1a = (abs(t>=0 & t<=.05)-abs(t>.05 & t<=.1)); subplot(2,1,1),plot(t,y1a) title('an Even Square Wave'); %2a. An even square wave frequency domain Xf2a=fft(y1a); %the Fourier Transform is taken here Xf_shifta=fftshift(Xf2a); %shift Xf_absa=abs(Xf_shifta); %find magnitude Xf_norma=Xf_absa/max(Xf_absa); %normalize subplot(2,1,2), plot(xf_norma); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of an Even Square Wave'); %1b. A 60% pulse signal time domain figure; y1b = (abs(t>=0 & t<=.06)); subplot(2,1,1),plot(t,y1b) title('60% Duty Pulse Signal'); %2b. A 60% pulse signal frequency domain Xf2b=fft(y1b); %the Fourier Transform is taken here

19 Xf_shiftb=fftshift(Xf2b); %shift Xf_absb=abs(Xf_shiftb); %find magnitude Xf_normb=Xf_absb/max(Xf_absb); %normalize subplot(2,1,2),plot(xf_normb); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a 60% pulse signal'); %1c. A 20% pulse signal time domain figure; y1c = (abs(t>=0 & t<=.02)); subplot(2,1,1),plot(t,y1c) title('20% Duty Pulse Signal'); %2c. A 20% pulse signal frequency domain Xf2c=fft(y1c); %the Fourier Transform is taken here Xf_shiftc=fftshift(Xf2c); %shift Xf_absc=abs(Xf_shiftc); %find magnitude Xf_normc=Xf_absc/max(Xf_absc); %normalize subplot(2,1,2),plot(xf_normc); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a 20% pulse signal'); %1d. A 10% pulse signal time domain figure; y1d = (abs(t>=0 & t<=.01)); subplot(2,1,1),plot(t,y1d) title('10% Duty Pulse Signal'); %2d. A 10% pulse signal Xf2d=fft(y1d); %the Fourier Transform is taken here Xf_shiftd=fftshift(Xf2d); %shift Xf_absd=abs(Xf_shiftd); %find magnitude Xf_normd=Xf_absd/max(Xf_absd); %normalize subplot(2,1,2),plot(xf_normd); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a 10% pulse signal'); %1e. Triangular wave time domain figure; y1e = 20*t.*(abs(t>=0 & t<=.05))+(2-20*t).*(abs(t>.05 & t<=.1)); subplot(2,1,1),plot(t,y1e)

20 title('triangle Wave'); %2e. Triangular wave frequency domain Xf2e=fft(y1e); %the Fourier Transform is taken here Xf_shifte=fftshift(Xf2e); %shift Xf_abse=abs(Xf_shifte); %find magnitude Xf_norme=Xf_abse/max(Xf_abse); %normalize subplot(2,1,2),plot(xf_norme); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Triangular Wave'); %1f. A cosine wave time domain figure; y1f=cos(2*pi*10*t); subplot(2,1,1),plot(t,y1f) title('cosine Wave') %2f. A cosine wave frequency domain Xf2f=fft(y1f); %the Fourier Transform is taken here Xf_shiftf=fftshift(Xf2f); %shift Xf_absf=abs(Xf_shiftf); %find magnitude Xf_normf=Xf_absf/max(Xf_absf); %normalize subplot(2,1,2),plot(xf_normf); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Cosine Wave'); %3. Zero-pad the above signals with 512 zeros. Repeat Step 2 and comment on %your results. n=512; %half the number of samples f=5000; %frequency t_min=0; t_max=0.1; %100 milliseconds t_step=(t_max-t_min)/(2*n);%padded step sixe t=t_step*2:t_step*2:2*((t_max-t_min)); time=0:t_step*2:(t_max-t_min)-t_step; %3a. A padded even square wave time domain figure; y = (abs(time>=0 & time<=.05)-abs(time>.05 & time<=.1)); U=zeros(1,n); ya=[y,u]; subplot(2,1,1),plot(t,ya)

21 title('an Even Square Wave Padded with 512 Zeros'); %3a. A padded even square wave frequency domain Xf3a=fft(ya); %the Fourier Transform is taken here Xf_shifta=fftshift(Xf3a); %shift Xf_absa=abs(Xf_shifta); %find magnitude Xf_norma=Xf_absa/max(Xf_absa); %normalize subplot(2,1,2),plot(xf_norma); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Padded Even Square Wave'); %3b. A padded 60% pulse signal time domain y = (abs(time>=0 & time<=.06)); yb = [y,u]; figure; subplot(2,1,1),plot(t,yb) title('60% Duty Pulse Signal Padded with 512 Zeros'); %3b. A padded 60% pulse signal frequency domain Xf3b=fft(yb); %the Fourier Transform is taken here Xf_shiftb=fftshift(Xf3b); %shift Xf_absb=abs(Xf_shiftb); %find magnitude Xf_normb=Xf_absb/max(Xf_absb); %normalize subplot(2,1,2),plot(xf_normb); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Padded 60% pulse signal'); %3c. A padded 20% pulse signal time domain figure; y = (abs(time>=0 & time<=.02)); yc = [y,u]; subplot(2,1,1),plot(t,yc) title('20% Duty Pulse Signal Padded with 512 Zeros'); %3c. A padded 20% pulse signal frequency domain Xf3c=fft(yc); %the Fourier Transform is taken here Xf_shiftc=fftshift(Xf3c); %shift Xf_absc=abs(Xf_shiftc); %find magnitude Xf_normc=Xf_absc/max(Xf_absc); %normalize subplot(2,1,2),plot(xf_normc); xlabel('frequency (Hz)');

22 ylabel(' X(f) '); title('dft of a Padded 20% pulse signal'); %3d. A padded 10% pulse signal time domain figure; y = (abs(time>=0 & time<=.01)); yd = [y,u]; subplot(2,1,1),plot(t,yd) title('10% Duty Pulse Signal Padded with 512 Zeros'); %3d. A padded 10% pulse signal frequency domain Xf3d=fft(yd); %the Fourier Transform is taken here Xf_shiftd=fftshift(Xf3d); %shift Xf_absd=abs(Xf_shiftd); %find magnitude Xf_normd=Xf_absd/max(Xf_absd); %normalize subplot(2,1,2),plot(xf_normd); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a 10% pulse signal'); %3e. Padded triangular wave time domain figure; y = 20*time.*(abs(time>=0 & time<=.05))+(2-20*time).*(abs(time>.05 & time<=.1)); ye = [y,u]; subplot(2,1,1),plot(t,ye) title('triangle Wave'); %3e. Padded triangular wave frequency domain Xf3e=fft(ye); %the Fourier Transform is taken here Xf_shifte=fftshift(Xf3e); %shift Xf_abse=abs(Xf_shifte); %find magnitude Xf_norme=Xf_abse/max(Xf_abse); %normalize subplot(2,1,2),plot(xf_norme); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Padded Triangular Wave'); %3f. A padded cosine wave time domain figure; y=cos(2*pi*10*time); yf = [y,u]; subplot(2,1,1),plot(t,yf) title('cosine Wave Padded with 512 Zeros')

23 %3f. A padded cosine wave frequency domain Xf3f=fft(yf); %the Fourier Transform is taken here Xf_shiftf=fftshift(Xf3f); %shift Xf_absf=abs(Xf_shiftf); %find magnitude Xf_normf=Xf_absf/max(Xf_absf); %normalize subplot(2,1,2),plot(xf_normf); xlabel('frequency (Hz)'); ylabel(' X(f) '); title('dft of a Padded Cosine Wave'); %4. Use 20 largest magnitude of the FFT to reconstruct the above signals. Plot %the original and the reconstructed signals. %4a. An even square wave figure subplot(3,1,1),plot(time,y1a) %plot original signal title('an Even Square Wave'); %Use only the 20 largest values sorta=sort(abs(xf2a),'descend'); %sort in descending order largea=sorta(20); %find the 20th largest value Xf2anew=Xf2a.*abs(abs(Xf2a)>=largea); % keep only values larger than the 20th value ya=ifft(xf2anew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,ya); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sorta=sort(abs(xf3a),'descend'); %sort in descending order largea=sorta(20); %find the 20th largest value Xf3anew=Xf3a.*abs(abs(Xf3a)>=largea); % keep only values larger than the 20th value ya=ifft(xf3anew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,ya); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %4b. A 60% pulse signal figure subplot(3,1,1),plot(time,y1b) %plot original signal

24 title('a 60% pulse signal'); %Use only the 20 largest values sortb=sort(abs(xf2b),'descend'); %sort in descending order largeb=sortb(20); %find the 20th largest value Xf2bnew=Xf2b.*abs(abs(Xf2b)>=largeb); % keep only values larger than the 20th value yb=ifft(xf2bnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yb); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sortb=sort(abs(xf3b),'descend'); %sort in descending order largeb=sortb(20); %find the 20th largest value Xf3bnew=Xf3b.*abs(abs(Xf3b)>=largeb); % keep only values larger than the 20th value yb=ifft(xf3bnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yb); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %4c A 20% pulse signal figure subplot(3,1,1),plot(time,y1c) %plot original signal title('a 20% pulse signal'); %Use only the 20 largest values sortc=sort(abs(xf2c),'descend'); %sort in descending order largec=sortc(20); %find the 20th largest value Xf2cnew=Xf2c.*abs(abs(Xf2c)>=largec); % keep only values larger than the 20th value yc=ifft(xf2cnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yc); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sortc=sort(abs(xf3c),'descend'); %sort in descending order largec=sortc(20); %find the 20th largest value Xf3cnew=Xf3c.*abs(abs(Xf3c)>=largec); % keep only values larger than the 20th value

25 yc=ifft(xf3cnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yc); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %4d A 10% pulse signal figure subplot(3,1,1),plot(time,y1d) %plot original signal title('a 10% pulse signal'); %Use only the 20 largest values sortd=sort(abs(xf2d),'descend'); %sort in descending order larged=sortd(20); %find the 20th largest value Xf2dnew=Xf2d.*abs(abs(Xf2d)>=larged); % keep only values larger than the 20th value yd=ifft(xf2dnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yd); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sortd=sort(abs(xf3d),'descend'); %sort in descending order larged=sortd(20); %find the 20th largest value Xf3dnew=Xf3d.*abs(abs(Xf3d)>=larged); % keep only values larger than the 20th value yd=ifft(xf3dnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yd); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %4e Triangle Wave figure subplot(3,1,1),plot(time,y1e) %plot original signal title('triangle Wave'); %Use only the 20 largest values sorte=sort(abs(xf2e),'descend'); %sort in descending order largee=sorte(20); %find the 20th largest value Xf2enew=Xf2e.*abs(abs(Xf2e)>=largee); % keep only values larger than the 20th value ye=ifft(xf2enew); %take the inverse Fourier Transform

26 subplot(3,1,2),plot(time,ye); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sorte=sort(abs(xf3e),'descend'); %sort in descending order largee=sorte(20); %find the 20th largest value Xf3enew=Xf3e.*abs(abs(Xf3e)>=largee); % keep only values larger than the 20th value ye=ifft(xf3enew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,ye); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %4f Cosine Wave figure subplot(3,1,1),plot(time,y1f) %plot original signal title('cosine Wave'); %Use only the 20 largest values sortf=sort(abs(xf2f),'descend'); %sort in descending order largef=sortf(20); %find the 20th largest value Xf2fnew=Xf2f.*abs(abs(Xf2f)>=largef); % keep only values larger than the 20th value yf=ifft(xf2fnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yf); %plot inverse from 20 values title('reconstructed from 20 Highest Values'); %Use only the 20 largest padded values sortf=sort(abs(xf3f),'descend'); %sort in descending order largef=sortf(20); %find the 20th largest value Xf3fnew=Xf3f.*abs(abs(Xf3f)>=largef); % keep only values larger than the 20th value yf=ifft(xf3fnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yf); %plot inverse from 20 padded values title('reconstructed from 20 Highest Padded Values'); %5. Repeat (4) using only the largest three coefficients.

27 %5a. An even square wave figure subplot(3,1,1),plot(time,y1a) %plot original signal title('an Even Square Wave'); %Use only the 3 largest values sorta=sort(abs(xf2a),'descend'); %sort in descending order largea=sorta(20); %find the 3rd largest value Xf2anew=Xf2a.*abs(abs(Xf2a)>=largea); % keep only values larger than the 3rd value ya=ifft(xf2anew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,ya); %plot inverse from 3 values title('reconstructed from 3 Highest Values'); %Use only the 3 largest padded values sorta=sort(abs(xf3a),'descend'); %sort in descending order largea=sorta(3); %find the 3rd largest value Xf3anew=Xf3a.*abs(abs(Xf3a)>=largea); % keep only values larger than the 3rd value ya=ifft(xf3anew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,ya); %plot inverse from 3 padded values title('reconstructed from 3 Highest Padded Values'); %5b. A 60% pulse signal figure subplot(3,1,1),plot(time,y1b) %plot original signal title('a 60% pulse signal'); %Use only the 3 largest values sortb=sort(abs(xf2b),'descend'); %sort in descending order largeb=sortb(3); %find the 3rd largest value Xf2bnew=Xf2b.*abs(abs(Xf2b)>=largeb); % keep only values larger than the 3rd value yb=ifft(xf2bnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yb); %plot inverse from 3 values title('reconstructed from 3 Highest Values');

28 %Use only the 3 largest padded values sortb=sort(abs(xf3b),'descend'); %sort in descending order largeb=sortb(3); %find the 3rd largest value Xf3bnew=Xf3b.*abs(abs(Xf3b)>=largeb); % keep only values larger than the 3rd value yb=ifft(xf3bnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yb); %plot inverse from 3 padded values title('reconstructed from 3 Highest Padded Values'); %5c A 20% pulse signal figure subplot(3,1,1),plot(time,y1c) %plot original signal title('a 20% pulse signal'); %Use only the 3 largest values sortc=sort(abs(xf2c),'descend'); %sort in descending order largec=sortc(3); %find the 3rd largest value Xf2cnew=Xf2c.*abs(abs(Xf2c)>=largec); % keep only values larger than the 3rd value yc=ifft(xf2cnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yc); %plot inverse from 3 values title('reconstructed from 3 Highest Values'); %Use only the 3 largest padded values sortc=sort(abs(xf3c),'descend'); %sort in descending order largec=sortc(3); %find the 3rd largest value Xf3cnew=Xf3c.*abs(abs(Xf3c)>=largec); % keep only values larger than the 3rd value yc=ifft(xf3cnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yc); %plot inverse from 3 padded values title('reconstructed from 3 Highest Padded Values'); %5d A 10% pulse signal figure subplot(3,1,1),plot(time,y1d) %plot original signal title('a 10% pulse signal');

29 %Use only the 3 largest values sortd=sort(abs(xf2d),'descend'); %sort in descending order larged=sortd(3); %find the 3rd largest value Xf2dnew=Xf2d.*abs(abs(Xf2d)>=larged); % keep only values larger than the 3rd value yd=ifft(xf2dnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yd); %plot inverse from 3 values title('reconstructed from 3 Highest Values'); %Use only the 3 largest padded values sortd=sort(abs(xf3d),'descend'); %sort in descending order larged=sortd(3); %find the 3rd largest value Xf3dnew=Xf3d.*abs(abs(Xf3d)>=larged); % keep only values larger than the 3rd value yd=ifft(xf3dnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yd); %plot inverse from 3 padded values title('reconstructed from 3 Highest Padded Values'); %5e Triangle Wave figure subplot(3,1,1),plot(time,y1e) %plot original signal title('triangle Wave'); %Use only the 3 largest values sorte=sort(abs(xf2e),'descend'); %sort in descending order largee=sorte(3); %find the 3rd largest value Xf2enew=Xf2e.*abs(abs(Xf2e)>=largee); % keep only values larger than the 3rd value ye=ifft(xf2enew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,ye); %plot inverse from 3 values title('reconstructed from 3 Highest Values'); %Use only the 3 largest padded values sorte=sort(abs(xf3e),'descend'); %sort in descending order largee=sorte(3); %find the 3rd largest value Xf3enew=Xf3e.*abs(abs(Xf3e)>=largee); % keep only values larger than the 3rd value ye=ifft(xf3enew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,ye); %plot inverse from 3 padded values

30 title('reconstructed from 3 Highest Padded Values'); %5f Cosine Wave figure subplot(3,1,1),plot(time,y1f) %plot original signal title('cosine Wave'); %Use only the 3 largest values sortf=sort(abs(xf2f),'descend'); %sort in descending order largef=sortf(3); %find the 3rd largest value Xf2fnew=Xf2f.*abs(abs(Xf2f)>=largef); % keep only values larger than the 3rd value yf=ifft(xf2fnew); %take the inverse Fourier Transform subplot(3,1,2),plot(time,yf); %plot inverse from 3 values title('reconstructed from 3 Highest Values'); %Use only the 3 largest padded values sortf=sort(abs(xf3f),'descend'); %sort in descending order largef=sortf(3); %find the 3rd largest value Xf3fnew=Xf3f.*abs(abs(Xf3f)>=largef); % keep only values larger than the 3rd value yf=ifft(xf3fnew); %take the inverse Fourier Transform subplot(3,1,3),plot(t,yf); %plot inverse from 3 padded values title('reconstructed from 3 Highest Padded Values');

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency

More information

Fourier Series and Gibbs Phenomenon

Fourier Series and Gibbs Phenomenon Fourier Series and Gibbs Phenomenon University Of Washington, Department of Electrical Engineering This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License

More information

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM Department of Electrical and Computer Engineering Missouri University of Science and Technology Page 1 Table of Contents Introduction...Page

More information

Log Booklet for EE2 Experiments

Log Booklet for EE2 Experiments Log Booklet for EE2 Experiments Vasil Zlatanov DFT experiment Exercise 1 Code for sinegen.m function y = sinegen(fsamp, fsig, nsamp) tsamp = 1/fsamp; t = 0 : tsamp : (nsamp-1)*tsamp; y = sin(2*pi*fsig*t);

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t)

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t) Fourier Transforms Fourier s idea that periodic functions can be represented by an infinite series of sines and cosines with discrete frequencies which are integer multiples of a fundamental frequency

More information

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS Eastern Mediterranean University Faculty of Engineering Department of Electrical and Electronic Engineering EENG 360 Communication System I Laboratory LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS General

More information

Lab 4 Fourier Series and the Gibbs Phenomenon

Lab 4 Fourier Series and the Gibbs Phenomenon Lab 4 Fourier Series and the Gibbs Phenomenon EE 235: Continuous-Time Linear Systems Department of Electrical Engineering University of Washington This work 1 was written by Amittai Axelrod, Jayson Bowen,

More information

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative

More information

Fourier transforms, SIM

Fourier transforms, SIM Fourier transforms, SIM Last class More STED Minflux Fourier transforms This class More FTs 2D FTs SIM 1 Intensity.5 -.5 FT -1.5 1 1.5 2 2.5 3 3.5 4 4.5 5 6 Time (s) IFT 4 2 5 1 15 Frequency (Hz) ff tt

More information

1. Let f(x, y) = 4x 2 4xy + 4y 2, and suppose x = cos t and y = sin t. Find df dt using the chain rule.

1. Let f(x, y) = 4x 2 4xy + 4y 2, and suppose x = cos t and y = sin t. Find df dt using the chain rule. Math 234 WES WORKSHEET 9 Spring 2015 1. Let f(x, y) = 4x 2 4xy + 4y 2, and suppose x = cos t and y = sin t. Find df dt using the chain rule. 2. Let f(x, y) = x 2 + y 2. Find all the points on the level

More information

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) Topic 6 The Digital Fourier Transform (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) 10 20 30 40 50 60 70 80 90 100 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4

More information

Lab 6: Building a Function Generator

Lab 6: Building a Function Generator ECE 212 Spring 2010 Circuit Analysis II Names: Lab 6: Building a Function Generator Objectives In this lab exercise you will build a function generator capable of generating square, triangle, and sine

More information

Fourier Signal Analysis

Fourier Signal Analysis Part 1B Experimental Engineering Integrated Coursework Location: Baker Building South Wing Mechanics Lab Experiment A4 Signal Processing Fourier Signal Analysis Please bring the lab sheet from 1A experiment

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

ENGR 210 Lab 12: Sampling and Aliasing

ENGR 210 Lab 12: Sampling and Aliasing ENGR 21 Lab 12: Sampling and Aliasing In the previous lab you examined how A/D converters actually work. In this lab we will consider some of the consequences of how fast you sample and of the signal processing

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

Knowledge Integration Module 2 Fall 2016

Knowledge Integration Module 2 Fall 2016 Knowledge Integration Module 2 Fall 2016 1 Basic Information: The knowledge integration module 2 or KI-2 is a vehicle to help you better grasp the commonality and correlations between concepts covered

More information

ELT COMMUNICATION THEORY

ELT COMMUNICATION THEORY ELT 41307 COMMUNICATION THEORY Matlab Exercise #1 Sampling, Fourier transform, Spectral illustrations, and Linear filtering 1 SAMPLING The modeled signals and systems in this course are mostly analog (continuous

More information

Figure 1: Block diagram of Digital signal processing

Figure 1: Block diagram of Digital signal processing Experiment 3. Digital Process of Continuous Time Signal. Introduction Discrete time signal processing algorithms are being used to process naturally occurring analog signals (like speech, music and images).

More information

Laboratory Assignment 4. Fourier Sound Synthesis

Laboratory Assignment 4. Fourier Sound Synthesis Laboratory Assignment 4 Fourier Sound Synthesis PURPOSE This lab investigates how to use a computer to evaluate the Fourier series for periodic signals and to synthesize audio signals from Fourier series

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012 Signal segmentation and waveform characterization Biosignal processing, 5173S Autumn 01 Short-time analysis of signals Signal statistics may vary in time: nonstationary how to compute signal characterizations?

More information

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

1. In the command window, type help conv and press [enter]. Read the information displayed. ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions

More information

Spectrum Analysis: The FFT Display

Spectrum Analysis: The FFT Display Spectrum Analysis: The FFT Display Equipment: Capstone, voltage sensor 1 Introduction It is often useful to represent a function by a series expansion, such as a Taylor series. There are other series representations

More information

Notes on Fourier transforms

Notes on Fourier transforms Fourier Transforms 1 Notes on Fourier transforms The Fourier transform is something we all toss around like we understand it, but it is often discussed in an offhand way that leads to confusion for those

More information

ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling

ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling Objective: In this experiment the properties and limitations of the sampling theorem are investigated. A specific sampling circuit will

More information

Principles of Communications ECS 332

Principles of Communications ECS 332 Principles of Communications ECS 332 Asst. Prof. Dr. Prapun Suksompong prapun@siit.tu.ac.th 5. Angle Modulation Office Hours: BKD, 6th floor of Sirindhralai building Wednesday 4:3-5:3 Friday 4:3-5:3 Example

More information

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform D. Richard Brown III D. Richard Brown III 1 / 11 Fourier Analysis of CT Signals with the DFT Scenario:

More information

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido The Discrete Fourier Transform Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido CCC-INAOE Autumn 2015 The Discrete Fourier Transform Fourier analysis is a family of mathematical

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

L A B 3 : G E N E R A T I N G S I N U S O I D S

L A B 3 : G E N E R A T I N G S I N U S O I D S L A B 3 : G E N E R A T I N G S I N U S O I D S NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1/7 1 THEORY DIGITAL SIGNAL PROCESSING LABORATORY 1.1 GENERATION OF DISCRETE TIME SINUSOIDAL SIGNALS IN

More information

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, 2006 6.082 Introduction to EECS 2 Lab #2: Time-Frequency Analysis Goal:... 3 Instructions:... 3

More information

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows: : FFT Fast Fourier Transform This PRO Lesson details hardware and software setup of the BSL PRO software to examine the Fast Fourier Transform. All data collection and analysis is done via the BIOPAC MP35

More information

C.11 Sampling and Aliasing Solution

C.11 Sampling and Aliasing Solution 158 APPENDIX C. LABORATORY EXERCISES SOLUTIONS C.11 Sampling and Aliasing Solution C.11.1 In-lab section 1. To get a frequency sweep from to 12 khz in seconds we need to choose f so that 2ft = when t =.

More information

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual. Lab. #1 Signal Processing & Spectral Analysis Name: Date: Section / Group: NOTE: To help you correctly answer many of the following questions, it may be useful to actually run the cases outlined in the

More information

REAL-TIME PROCESSING ALGORITHMS

REAL-TIME PROCESSING ALGORITHMS CHAPTER 8 REAL-TIME PROCESSING ALGORITHMS In many applications including digital communications, spectral analysis, audio processing, and radar processing, data is received and must be processed in real-time.

More information

Mel Spectrum Analysis of Speech Recognition using Single Microphone

Mel Spectrum Analysis of Speech Recognition using Single Microphone International Journal of Engineering Research in Electronics and Communication Mel Spectrum Analysis of Speech Recognition using Single Microphone [1] Lakshmi S.A, [2] Cholavendan M [1] PG Scholar, Sree

More information

UNIVERSITY OF WARWICK

UNIVERSITY OF WARWICK UNIVERSITY OF WARWICK School of Engineering ES905 MSc Signal Processing Module (2004) ASSIGNMENT 1 In this assignment, you will use the MATLAB package. In Part (A) you will design some FIR filters and

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

Physics 115 Lecture 13. Fourier Analysis February 22, 2018

Physics 115 Lecture 13. Fourier Analysis February 22, 2018 Physics 115 Lecture 13 Fourier Analysis February 22, 2018 1 A simple waveform: Fourier Synthesis FOURIER SYNTHESIS is the summing of simple waveforms to create complex waveforms. Musical instruments typically

More information

Title: Pulse Amplitude Modulation.

Title: Pulse Amplitude Modulation. Title: Pulse Amplitude Modulation. AIM Write a program to take input Frequency of Message Signal and find out the Aliased and Anti-Aliased wave, and also the Carrier Signal, Message Signal and their Fourier

More information

Discrete Fourier Transform

Discrete Fourier Transform 6 The Discrete Fourier Transform Lab Objective: The analysis of periodic functions has many applications in pure and applied mathematics, especially in settings dealing with sound waves. The Fourier transform

More information

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual Memorial University of Newfoundland Faculty of Engineering and Applied Science Engineering 6871 Communication Principles Lab Manual Fall 2014 Lab 1 AMPLITUDE MODULATION Purpose: 1. Learn how to use Matlab

More information

Identification of Nonstationary Audio Signals Using the FFT, with Application to Analysis-based Synthesis of Sound

Identification of Nonstationary Audio Signals Using the FFT, with Application to Analysis-based Synthesis of Sound Identification of Nonstationary Audio Signals Using the FFT, with Application to Analysis-based Synthesis of Sound Paul Masri, Prof. Andrew Bateman Digital Music Research Group, University of Bristol 1.4

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

Frequency Domain Representation of Signals

Frequency Domain Representation of Signals Frequency Domain Representation of Signals The Discrete Fourier Transform (DFT) of a sampled time domain waveform x n x 0, x 1,..., x 1 is a set of Fourier Coefficients whose samples are 1 n0 X k X0, X

More information

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Department of Electronic Engineering NED University of Engineering & Technology LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Instructor Name: Student Name: Roll Number: Semester: Batch:

More information

DIGITAL SIGNAL PROCESSING CCC-INAOE AUTUMN 2015

DIGITAL SIGNAL PROCESSING CCC-INAOE AUTUMN 2015 DIGITAL SIGNAL PROCESSING CCC-INAOE AUTUMN 2015 Fourier Transform Properties Claudia Feregrino-Uribe & Alicia Morales Reyes Original material: Rene Cumplido "The Scientist and Engineer's Guide to Digital

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 1: INTRODUCTION TO TIMS AND MATLAB INTRODUCTION

More information

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY NAME:. STUDENT ID:.. ROOM: INTRODUCTION TO AMPLITUDE MODULATION Purpose: The objectives of this laboratory are:. To introduce the spectrum

More information

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling Note: Printed Manuals 6 are not in Color Objectives This chapter explains the following: The principles of sampling, especially the benefits of coherent sampling How to apply sampling principles in a test

More information

Lecture notes on Waves/Spectra Noise, Correlations and.

Lecture notes on Waves/Spectra Noise, Correlations and. Lecture notes on Waves/Spectra Noise, Correlations and. W. Gekelman Lecture 4, February 28, 2004 Our digital data is a function of time x(t) and can be represented as: () = a + ( a n t+ b n t) x t cos

More information

System analysis and signal processing

System analysis and signal processing System analysis and signal processing with emphasis on the use of MATLAB PHILIP DENBIGH University of Sussex ADDISON-WESLEY Harlow, England Reading, Massachusetts Menlow Park, California New York Don Mills,

More information

Chapter 5. Signal Analysis. 5.1 Denoising fiber optic sensor signal

Chapter 5. Signal Analysis. 5.1 Denoising fiber optic sensor signal Chapter 5 Signal Analysis 5.1 Denoising fiber optic sensor signal We first perform wavelet-based denoising on fiber optic sensor signals. Examine the fiber optic signal data (see Appendix B). Across all

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

ME scope Application Note 02 Waveform Integration & Differentiation

ME scope Application Note 02 Waveform Integration & Differentiation ME scope Application Note 02 Waveform Integration & Differentiation The steps in this Application Note can be duplicated using any ME scope Package that includes the VES-3600 Advanced Signal Processing

More information

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 52 CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 4.1 INTRODUCTION The ADALINE is implemented in MATLAB environment running on a PC. One hundred data samples are acquired from a single cycle of load current

More information

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

Fourier Transform. Prepared by :Eng. Abdo Z Salah

Fourier Transform. Prepared by :Eng. Abdo Z Salah Fourier Transform Prepared by :Eng. Abdo Z Salah What is Fourier analysis?? Fourier Analysis is based on the premise that any arbitrary signal can be constructed using a bunch of sine and cosine waves.

More information

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. 2012 Signals and Systems: Laboratory 1 1 SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. corrigad@tcd.ie www.mee.tcd.ie/ corrigad The aims of this

More information

Signal Processing. Introduction

Signal Processing. Introduction Signal Processing 0 Introduction One of the premiere uses of MATLAB is in the analysis of signal processing and control systems. In this chapter we consider signal processing. The final chapter of the

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB.

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB. MATLAB Addendum on Fourier Stuff 1. Getting to know the FFT What is the FFT? FFT = Fast Fourier Transform. The FFT is a faster version of the Discrete Fourier Transform(DFT). The FFT utilizes some clever

More information

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

More information

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. Home The Book by Chapters About the Book Steven W. Smith Blog Contact Book Search Download this chapter in PDF

More information

Experiment 8: Sampling

Experiment 8: Sampling Prepared By: 1 Experiment 8: Sampling Objective The objective of this Lab is to understand concepts and observe the effects of periodically sampling a continuous signal at different sampling rates, changing

More information

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK DCSP-10: DFT and PSD Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dcsp.html DFT Definition: The discrete Fourier transform

More information

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective The objective is to teach students a basic digital communication

More information

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 1 2.1 BASIC CONCEPTS 2.1.1 Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 2 Time Scaling. Figure 2.4 Time scaling of a signal. 2.1.2 Classification of Signals

More information

EE 470 BIOMEDICAL SIGNALS AND SYSTEMS. Active Learning Exercises Part 2

EE 470 BIOMEDICAL SIGNALS AND SYSTEMS. Active Learning Exercises Part 2 EE 47 BIOMEDICAL SIGNALS AND SYSTEMS Active Learning Exercises Part 2 29. For the system whose block diagram presentation given please determine: The differential equation 2 y(t) The characteristic polynomial

More information

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

More information

Advanced Audiovisual Processing Expected Background

Advanced Audiovisual Processing Expected Background Advanced Audiovisual Processing Expected Background As an advanced module, we will not cover introductory topics in lecture. You are expected to already be proficient with all of the following topics,

More information

EE 403: Digital Signal Processing

EE 403: Digital Signal Processing OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE 1 EEE 403 DIGITAL SIGNAL PROCESSING (DSP) 01 INTRODUCTION FALL 2012 Yrd. Doç. Dr. Didem Kıvanç Türeli didem.kivanc@okan.edu.tr EE 403: Digital Signal

More information

The Fourier Transform

The Fourier Transform The Fourier Transform Introduction to Digital Signal Processing (886457) 6 1 / 56 Contents Introduction Fourier Transforms One-dimensional DFT Two-dimensional DFT Fourier Transforms Function in Octave

More information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

More information

LLS - Introduction to Equipment

LLS - Introduction to Equipment Published on Advanced Lab (http://experimentationlab.berkeley.edu) Home > LLS - Introduction to Equipment LLS - Introduction to Equipment All pages in this lab 1. Low Light Signal Measurements [1] 2. Introduction

More information

CS4495/6495 Introduction to Computer Vision. 2C-L3 Aliasing

CS4495/6495 Introduction to Computer Vision. 2C-L3 Aliasing CS4495/6495 Introduction to Computer Vision 2C-L3 Aliasing Recall: Fourier Pairs (from Szeliski) Fourier Transform Sampling Pairs FT of an impulse train is an impulse train Sampling and Aliasing Sampling

More information

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu Lecture 2: SIGNALS 1 st semester 1439-2017 1 By: Elham Sunbu OUTLINE Signals and the classification of signals Sine wave Time and frequency domains Composite signals Signal bandwidth Digital signal Signal

More information

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130,

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130, ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130, 1. Enter your name, student ID number, e-mail address, and signature in the space provided

More information

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1). Chapter 5 Window Functions 5.1 Introduction As discussed in section (3.7.5), the DTFS assumes that the input waveform is periodic with a period of N (number of samples). This is observed in table (3.1).

More information

ELEC3104: Digital Signal Processing Session 1, 2013 LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS OF SYSTEMS

ELEC3104: Digital Signal Processing Session 1, 2013 LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS OF SYSTEMS ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS

More information

MATLAB Assignment. The Fourier Series

MATLAB Assignment. The Fourier Series MATLAB Assignment The Fourier Series Read this carefully! Submit paper copy only. This project could be long if you are not very familiar with Matlab! Start as early as possible. This is an individual

More information

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this

More information

UNIVERSITY OF WARWICK

UNIVERSITY OF WARWICK UNIVERSITY OF WARWICK School of Engineering ES905 MSc Signal Processing Module (2010) AM SIGNALS AND FILTERING EXERCISE Deadline: This is NOT for credit. It is best done before the first assignment. You

More information

EE 438 Final Exam Spring 2000

EE 438 Final Exam Spring 2000 2 May 2000 Name: EE 438 Final Exam Spring 2000 You have 120 minutes to work the following six problems. Each problem is worth 25 points. Be sure to show all your work to obtain full credit. The exam is

More information

Simulate IFFT using Artificial Neural Network Haoran Chang, Ph.D. student, Fall 2018

Simulate IFFT using Artificial Neural Network Haoran Chang, Ph.D. student, Fall 2018 Simulate IFFT using Artificial Neural Network Haoran Chang, Ph.D. student, Fall 2018 1. Preparation 1.1 Dataset The training data I used is generated by the trigonometric functions, sine and cosine. There

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 13 Inverse FFT

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 13 Inverse FFT Hideo Okawara s Mixed Signal Lecture Series DSP-Based Testing Fundamentals 13 Inverse FFT Verigy Japan May 2009 Preface to the Series ADC and DAC are the most typical mixed signal devices. In mixed signal

More information

MATLAB 6.5 Image Processing Toolbox Tutorial

MATLAB 6.5 Image Processing Toolbox Tutorial MATLAB 6.5 Image Processing Toolbox Tutorial The purpose of this tutorial is to gain familiarity with MATLAB s Image Processing Toolbox. This tutorial does not contain all of the functions available in

More information

ELEC MatLab Introductory Lab. Performed: Monday January 20 th Submitted: Monday January 27 th 2014

ELEC MatLab Introductory Lab. Performed: Monday January 20 th Submitted: Monday January 27 th 2014 ELEC 1908 MatLab Introductory Lab Performed: Monday January 20 th 2014 Submitted: Monday January 27 th 2014 Performed By Name, Student # Name, Student # Teaching Assistant Svetlana Demptchenko Introduction

More information

Sound synthesis with Pure Data

Sound synthesis with Pure Data Sound synthesis with Pure Data 1. Start Pure Data from the programs menu in classroom TC307. You should get the following window: The DSP check box switches sound output on and off. Getting sound out First,

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 41 Digital Signal Processing Prof. Mark Fowler Note Set #17.5 MATLAB Examples Reading Assignment: MATLAB Tutorial on Course Webpage 1/24 Folder Navigation Current folder name here Type commands here

More information

Post-processing using Matlab (Advanced)!

Post-processing using Matlab (Advanced)! OvGU! Vorlesung «Messtechnik»! Post-processing using Matlab (Advanced)! Dominique Thévenin! Lehrstuhl für Strömungsmechanik und Strömungstechnik (LSS)! thevenin@ovgu.de! 1 Noise filtering (1/2)! We have

More information