blob: 7ac2943d37a197f990b40cf3685e930b8f95a8c0 (
plain)
1
2
3
4
5
6
7
|
//Example 1.15d
//Check whether the given signal is periodic or not
clc;
t=-10:0.01:10;
y=(cos(t))^2;
plot(t,y);
disp('Plot shows that the given signal is periodic with period %pi');
|