diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/extra codes/Lab21b.m	Sat Apr 20 13:03:01 2013 +0100
@@ -0,0 +1,12 @@
+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),'*');
+
+
+
+