I am a newbie to DSP, and have what seems to me a fundamental question.
I have a discrete-time sequence $g[n]$ of length $N$. I am supposed to pass this signal through a root-raised cosine filter $h_1(t)$ with a cut-off frequency of $F= 1/T$, to obtain a continuous time signal $x(t)$: $$ x(t) = \sum\limits_{n=0}^{N}g[nT]h_1((t-n)T) $$
Is this a correct expression to obtain the continuous-time signal?
Then, $x(t)$ is convolved with a second continuous-time filter $h_2(t)$ to obtain $y(t)$: $$ y(t) = x\star h_2 (t) = g\star h_1\star h_2(t) $$
where $\star$ denotes convolution. I am not sure how to expand the above expression in terms of summation or integral, as $g[n]$ is discrete-time and the other two filters are continuous-time.
Finally, I sample $y(t)$ at rate $F = 1/T$ and pass it through $h_3[n]$ to obtain the signal $z[n]$. The filter $h_3[n]$ the discrete-time counterpart of $h_1(t)$, i.e. $h_3[n] = h_3[nT] = h_1[nT]$. Here, I have the same problem as 2. above. I am not sure how to expand the following in terms of summation or integrals, now that this is a mix-up of discrete-time signals $g[n]$, $h_3[n]$ and continuous time signals $h_1(t)$ and $h_2(t)$: $$ z[n] = z(nT) = y(nT)\star h_3(nT) = x\star h_2\star h_3(nT) = g\star h_1\star h_2\star h_3(nT) $$
Can I interchange the convolutions in the above as follows? $$ g\star h_1\star h_2\star h_3(nT) = g\star h_1\star h_3\star h_2(nT) $$
Any help or hints would be greatly appreciated!
-ryan