Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | % Periodic Signal with frequency | + | % Periodic Signal with frequency 2*pi Hz. |
t=[0:0.001:40]; | t=[0:0.001:40]; | ||
y=sin(t); | y=sin(t); |
Revision as of 15:42, 9 September 2008
% Periodic Signal with frequency 2*pi Hz. t=[0:0.001:40]; y=sin(t); plot(t,y); % Sampling Frequency 0.25 Hz t=[0:4:40]; y2 = sin(t); figure plot(t,y2);