blob: f1358a8455fe885dfa9e0e9fe349f7908cb7f87c (
plain)
1
2
3
4
5
6
7
8
9
|
//example 6.4.d
//check the signal is periodic or not
clc ;
n=-15:0.01:15;
y =(cos(7*%pi*n)+%i*sin(7*%pi*n));
xlabel('n')
ylabel('x(n)')
plot(n,y);
disp ( 'Plot shows that given signal is periodic of fundamental period=2 samples' ) ;
|