I am trying to know if filtering a sequence with a matched filters gives a gain equal to the sequence length, he are the calculus, is it correct ?
In my model $s$ is a deterministic complex sequence (lets say RRC pulse shape samples for a QAM modulation), $v$ is a complex white circular gaussian noise.
If it is correct does it mean that there is an "inband" filter which can enhance $SNR$ ?!
\begin{align} s &= [ s_0,\dots,s_{ N-1} ]^T\\ v &= [ v_0,\dots,v_{ N-1} ]^T \\ x &= s + v \\ R_v &= \mathbb{ E } \left[ v v ^ H \right] = \sigma ^ 2 I \\ \textrm{SNR}_1 &= \frac{ \mathbb{ E } \left[ \lvert s \rvert ^ 2 \right] } { \mathbb{ E } \left[ \lvert v \rvert ^ 2 \right] } = \frac{ \mathbb{ E } \left[ s ^ H s \right] } { \mathbb{ E } \left[ v ^ H v \right]} = \frac{ s ^ H s } { \mathbb{ E } \left[ v ^ H v \right] } = \frac{ s ^ H s } { \mathbb{ E } \left[ \Sigma \lvert v_i \rvert ^ 2 \right] } = \frac{ s ^ H s }{ N \sigma ^ 2 }\\ h &= s \\ y &= h ^ H x = h ^ H s + h ^ H v = s ^ H s + s ^ H v \\ \textrm{SNR}_2 &= \frac{ \mathbb{ E } \left[ \lvert h ^ H s \rvert ^ 2 \right] } { \mathbb{ E } \left[ \lvert h ^ H v \rvert ^ 2 \right] } = \frac{ h ^ H s s ^ H h }{ \mathbb{ E } \left[ h ^ H v v ^ H h \right] } = \frac{ h ^ H s s ^ H h }{ h ^ H R_v h } = \frac{ s ^ H s s ^ H s }{ s ^ H \sigma ^ 2 I s } = \frac{ s ^ H s }{ \sigma ^ 2 } \\ \frac{\textrm{SNR}_2 }{ \textrm{SNR}_1 } &= N \end{align}