dsp

This topic has been permanently closed and is being transferred over to MATLAB Answers. Check back later for the link.


Consider an analog signal 𝑥𝑎(𝑡) = cos(20𝜋𝑡), 0 ≤ 𝑡 ≤ 1. It is sampled at 𝑇𝑆 = 0.01, 0.05, and 0.1 sec intervals to obtain x(n). 1. For each 𝑇𝑆 plot x(n). 2. Reconstruct the analog signal 𝑦𝑎 (𝑡) from the samples x(n) using the sinc interpolation (use ∆t = 0.001) and determine the frequency in 𝑦𝑎 (𝑡)from your plot. MATLAB implementation of sinc interpolation n = n1:n2; t = t1:t2; Fs = 1/Ts; nTs = n*Ts; % Ts is the sampling interval ya = x * sinc(Fs*(ones(length(n),1)*t-nTs'*ones(1,length(t))))

Tags