Use Matlab to solve Sample Xej at 2kN with N 16Solutionfs1

Use Matlab to solve Sample X(e^j) at = 2k/N with N = 16.

Solution

fs1=30e3; %30kHz sampling rate
t1=0:1/fs1:nCyl*1/f; %time index
K=0:1:100

x1=cos(2*pi*f*t1);

fs2=50e3; %50kHz sampling rate
t2=0:1/fs2:nCyl*1/f; %time index
x2=cos(2*pi*f*t2);

subplot(2,1,1);
plot(t,x);
hold on;
stem(t1,x1);
subplot(2,1,2);
plot(t,x);
hold on;
stem(t2,x2);

 Use Matlab to solve Sample X(e^j) at = 2k/N with N = 16.Solutionfs1=30e3; %30kHz sampling rate t1=0:1/fs1:nCyl*1/f; %time index K=0:1:100 x1=cos(2*pi*f*t1); fs

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site