I have function that I want to sample with sampleing rate 20 Msamples/sec.
The funciton is the one below
$w_T(t)= \left\{ \begin{array}{ll} \sin^2(\frac{\pi}{2}(0.5+\frac{t}{T_{TR}})) & \mbox{if $-T_{TR}/2 < t<T_{RT}/2$};\\ 1 & \mbox{if $T_{TR}/2 < t<T-T_{TR}/2$}\\ \sin^2(\frac{\pi}{2}(0.5-\frac{t-T}{T_{TR}})) & \mbox{if $T-T_{TR}/2 < t<T+T_{TR}/2$};\\ \end{array} \right. $
I saw the solution is
$w_T(n)=\left\{ \begin{array}{ll} 1 & \mbox{if $1<n<79$};\\ 0.5 & \mbox{if $0,80$}.\end{array} \right. $
I tried to see why it so so I put $t=n T_s= n \frac{1}{20\times10^{-6}}$. It is also given that $T_{TR}= 100 ns$ and $T=4 \mu sec$. But i fail to reach the discrete funciton.
Is there any way to reach solution?