"To verify that discrete sinusoidal and complex exponential signals have distinct frequency only in an interval of length 2π. Furthermore you have to verify that the frequency of discrete sinusoidal signal increases as we move from 0 to π and decreases when we move from π to 2π. You have to determine the period of various discrete sinusoidal signals as well."

This is the statement for the project.....Please help me understand.

>>Urgently required<<


8 Years
Discussion Span
Last Post by usmanabb

Plot the formulae in matlab first.

clear all
close all
f1=1/6; f2=1/4; f4=1/2; f3=1/3;  f5=2/3; f6=3/4; f7=5/6; f8=1;

x1=sin(2*pi*f1*t); x2=sin(2*pi*f2*t); x3=sin(2*pi*f3*t);
x4=sin(2*pi*f4*t); x5=sin(2*pi*f5*t); x6=sin(2*pi*f6*t);
x7=sin(2*pi*f7*t); x8=sin(2*pi*f8*t);
subplot(811); stem(t,x1); grid on; 
subplot(812); stem(t,x2); grid on;
subplot(813); stem(t,x3); grid on;
subplot(814); stem(t,x4); grid on;
subplot(815); stem(t,x5); grid on;
subplot(816); stem(t,x6); grid on;
subplot(817); stem(t,x7); grid on;
subplot(818); stem(t,x8); grid on;
xlabel('Time'); ylabel('Amplitude');
f11=-1/6; f22=-1/4; f33=-1/3; f44=-1/2; f55=-2/3; f66=-3/4; f77=-5/6; f88=-1;
x11=sin(2*pi*f11*t); x22=sin(2*pi*f22*t); x33=sin(2*pi*f33*t); 
x44=sin(2*pi*f44*t);x55=sin(2*pi*f55*t); x66=sin(2*pi*f66*t); 
x77=sin(2*pi*f77*t); x88=sin(2*pi*f88*t);
subplot(811); stem(t,x11); grid on; 
subplot(812); stem(t,x22); grid on;
subplot(813); stem(t,x33); grid on;
subplot(814); stem(t,x44); grid on;
subplot(815); stem(t,x55); grid on;
subplot(816); stem(t,x66); grid on;
subplot(817); stem(t,x77); grid on;
subplot(818); stem(t,x88); grid on;
xlabel('Time'); ylabel('Amplitude');

Is That How it should be done......I am not sure

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.