Hi everyone,
It seems like all estimators in MPSK_SNR_EST class, except for the SVR one
(shown below), have signal, noise, and SNR estimations.  How does one get
the signal and noise components from the SVR estimate?

Regards,

Moses.

mpsk_snr_est_svr::mpsk_snr_est_svr(double alpha) : mpsk_snr_est(alpha)

{

    d_y1 = 0;

    d_y2 = 0;

}


int mpsk_snr_est_svr::update(int noutput_items, const gr_complex* input)

{

    for (int i = 0; i < noutput_items; i++) {

        double x = abs(input[i + 1]);

        double x1 = abs(input[i]);

        double y1 = (x * x) * (x1 * x1);

        d_y1 = d_alpha * y1 + d_beta * d_y1;


        double y2 = x * x * x * x;

        d_y2 = d_alpha * y2 + d_beta * d_y2;

    }

    return noutput_items;

}


double mpsk_snr_est_svr::snr()

{

    double x = d_y1 / (d_y2 - d_y1);

    return 10.0 * log10(x - 1 + sqrt(x * (x - 1)));

}


Moses Browne Mwakyanjala


Founder - CEO

*Remos Space Systems AB*

m: +46 (0)70 278 2174

a: Aurorum 1C,  977 75 Luleå, Sweden

w: www.remosspace.com e: mbkit...@gmail.com

[image: image.png]

Reply via email to