You may be interested in the simple experiment using matlab.
Reconstruction is essentially a kind of interpolation or so called digital to analog conversion (DAC). Detail descriptions are introduced in chapter 4.8.3 of the DSP Bible 1.
However, we all understand the ideal theory. But the problem is how to bridge the theory and practice. Because all the signals we can simulate in Matlab is essentially 'Digital'. So, the so-cal ADC/DAC is just an approaching simulation. Let me briefly justify the difference.
Ideal Reconstruction in DAC: There is typically a zero order hold circuit and reconstruction filter. Please note that the frequency response of zero order hold is not evenly flat so a reconstruction filter comes to an aid.
Matlab Simulation in DAC: There is no need to actually simulate a zero-order hold. All you need are a up sampling and an ideal low pass filter.
Because the t cannot be found in the question. I just post a AD DA practice sample code here. Hope it can help.
This sample code sample a simulated 2 Hz analog signal,x_a, (with sampling rate 1500 Hz) to a discrete time signal,x_d, with 5 Hz sampling rate (nearly Nyquist rate) and then reconstruct this back,x_r.
%% This code simulate the AD/DA processing discussed in Chapter 4.8.3 
close all; clear all;
analog_fps = 1500;
analog_window_time = 3; %sec
t = 0:1/analog_fps: analog_window_time-1/analog_fps;
digital_fps = 5;
n = downsample(t,analog_fps/digital_fps);
% ADC: Quantizer
X_m = 1; % Range
B = 10;% Bit number.
%% Signal generation
freq_hz = 1; % Hz.
x_a_1 = 0.5*cos(2*pi*freq_hz*t+0.1);
% add a small high frequency component as asked.
signal_freq = 2; %Hz
x_a_2 = 0.5*cos(2*pi*signal_freq*t+pi/2);
x_a = x_a_1 + x_a_2;
x_s = downsample(x_a,analog_fps/digital_fps);
% Quantizing (abs of input value should not over 1)
% x_d = Quantizing(x_s,B,X_m); % A For complete ADC, a quantizing should
% be added here.
x_d = x_s; % For your case, there is no quantizing here.
% up sample / DAC
x_up = upsample(x_d,analog_fps/digital_fps);
% LPF (Reconstruction Filters)
h = intfilt(analog_fps/digital_fps,4,0.9);
% please not the parameter 0.9, ideally should be 1 for Nyquist rate.
% 0.9 here is ratio of Nyquist.
% Given known limit band signal, shourter ratio can enhance SNR by oversampling.
% (i,e, here I filterout the freq larger than 2.5(Nyquist rate) * 0.9 = 2.25Hz)
x_r = filter(h,1,x_up);
x_r(1:floor(mean(grpdelay(h)))) = ;
x_r = [x_r zeros(1,floor(mean(grpdelay(h))))];
title('analog signal (1500Hz) v.s. digital signal (5Hz) v.s. Reconstructed signal (1500Hz)');
You can adjust the digital_fps with sampling rate higher than Nyquist rate (30 for example) and 0.9 in intfilt to 0.5 (shorter group delay).
- A. Oppenheim and R. Schafer, Discrete Time Signal Processing 3rd. 2009
As others have said, the book 1 is called the DSP bible.