((int16_t*)&gNB->common_vars.rxdata[ap][slot_offset])[(2*i)+(delay*2)]=(int16_t)((r_re[ap][i])+(sqrt(sigma/2)*gaussdouble(0.0,1.0)));// convert to fixed point
((int16_t*)&gNB->common_vars.rxdata[ap][slot_offset])[(2*i)+(delay*2)]=(int16_t)((r_re[ap][i])+(sqrt(sigma/2)*gaussdouble(0.0,1.0)));// convert to fixed point