What do you mean with "end value s"? rec_sr seems to be a one-dimensional array, so there's only one last value. Or do you mean the imag and the real part of the end value? Then it's just
last_entry=[real(rec_sr) imag(rec_sr)].
If you need it quite often, you cut put that into an anonymous function like
real_imag=@(x) [real(x),imag(x)];
last_entry=real_imag(rec_sr(end));