view extra codes/Lab21b.m @ 3:1c0f36c348d4

extra code for matlab
author Katerina <katkost@gmail.com>
date Sat, 20 Apr 2013 13:03:01 +0100
parents
children
line wrap: on
line source
x3=[1 1 1 1 1 1 1 1 ];
X3=fft(x3,8);
ejex=linspace(0,1,8);
figure('Name','X3');
subplot(131);
plot(ejex,abs(X3),'*');
subplot(132);
plot(ejex,angle(X3),'*');