summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.15.c/example115c.sce
blob: f89b8b36509a8f2af107b578b0ff9676b4812261 (plain)
1
2
3
4
5
6
7
//Example 1.15c
//Check whether the given signal is periodic or not
clc;
t=-20:0.01:20;
y=sin((%pi/2)*t)+cos((%pi/4)*t);
plot(t,y);
disp('Plot shows that the given signal is periodic with period 40');