close all;
clear all;
x=linspace(0,2*pi,5);
x=x(1:end-1);
y=sin(3*x);
figure;
stem(y);
%plot(y);
figure;
Y=fft(y);
stem(abs(Y));
%figure;
%stem(angle(Y));
