(→A CT periodic signal sampled at different frequencies) |
(→A CT periodic signal sampled at different frequencies) |
||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
− | |||
− | |||
%%%%%%%%DT input%%%%%%%%% | %%%%%%%%DT input%%%%%%%%% | ||
+ | n=1:1:40 | ||
+ | |||
y=cos(pi/8*n); | y=cos(pi/8*n); |
Revision as of 15:08, 12 September 2008
A CT periodic signal sampled at different frequencies
It is known that y=cos(x) in CT is a periodic function, and this periodic CT function was sampled at different frequencies in DT.
%%%%%%%%DT input%%%%%%%%% n=1:1:40 y=cos(pi/8*n); figure(1) plot(n,y) y2=cos(3*n); figure(2) plot(n,y2)