Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc
- close all
- clear all
- N=12;
- m=4;
- n=0:0.01:((2*N)-1);
- y=sin((2*pi*m*n)/N);
- subplot(4,1,1)
- plot(n,y)
- hold on
- m=5;
- n1=0:0.01:((2*N)-1);
- y1=sin((2*pi*m*n)/N);
- subplot(4,1,2)
- plot(n1,y1)
- hold on
- m=7;
- n2=0:0.01:((2*N)-1);
- y2=sin((2*pi*m*n)/N);
- subplot(4,1,3)
- plot(n2,y2)
- hold on
- m=10;
- n3=0:0.01:((2*N)-1);
- y3=sin((2*pi*m*n)/N);
- subplot(4,1,4)
- plot(n3,y3)
Add Comment
Please, Sign In to add comment