Study of meson-baryon correlations in ralativistic nuclear collisions registered by the STAR detector