You are on page 1of 1

AREEB HUSSAIN LAB 10 CMS:439-2015

Task 1
Plot a sine wave in time domain and transforms this sine wave into frequency domain.

Source Code
t = 0:0.01:100;
y = sin((2*pi*t)/0.1);
figure; plot(t(1:100), y(1:100));
ffty = fft(y);
absy = abs(ffty);
f = t;
figure; plot(f, absy);

Outcome

LEARNING OUTCOMES :
In this lab we learnt about fourier transform of continuous time aperiodic signals

You might also like