Discrete signals can come from sampling continuous-time signals. A continuous-time signal can be of infinite support. For instance, a sin wave. In terms of mathematical description of signals and systems, it is assumed that a discrete signal is a function defined on $\mathbb{Z}$ and mathematical derivation proceed happily with that. However, in real applications of the theory on digital devices, we cannot directly store all samples of a sequence $x: \mathbb{Z} \to \mathbb{R}$, due to limited memory. There seems to be a gap between the mathematical description of the theory and the true signal played with on computers.
I am recently trying to use a numerical example to verify equations from a resample system. For instance, to generate a new sequence from an old one, so that the new sequence can be viewed as sampling the original continuous-time signal at a different rate. I would like to conduct the verification using a $\sin$ wave. The procedure goes as follows: first sample the $\sin$ wave with an interval $T_{1}$ to generate a sequence $x_{1}: \mathbb{Z} \to \mathbb{R}$. Then sample the $\sin$ wave with a new interval $T_{2}$ to generate a new sequence $x_{2}: \mathbb{Z} \to \mathbb{R}$, which is a resampled version of $x_{1}$. Then generate a sequence $x_{3}: \mathbb{Z} \to \mathbb{R}$ from $x_{1}$ directly using equations from the analysis of resample system to ensure that $x_{3}$ is also of a sampling rate $T_{2}$. For instance, use the concatenation of an interpolator, a low pass filter and a decimator. Then a verification can be made by comparing $x_{2}$ and $x_{3}$. They should be the same sequence.
When I executed the plan, I found an issue: $\sin$ is of infinite support, and equations from resample analysis assumes discrete signals of infinite support. Generating $x_{2}$ from direct math formula for sampling is not difficult. The problem is, $x_{1}$ in practice is a finite sequence which only represent truncated $\sin$ wave, and thus deviates from mathematical analysis of resampling. I am afraid that this deviation may cause the verification to fail, even if the equations are correct. Can someone provide ideas for my thoughts?