MATLAB: Is there any command by which we can plot the constellation points with arrows in between?

power_electronics_control

qam_modulated_data = qammod(data_source, M) %here we perform 8bit qam on the random normal function scatterplot(qam_modulated_data) here we get only points.
Which command should be used to get lines in between the points so that we can determine the distance between two points?

Best Answer

Maybe try the grid on command it will generate a graph sheet so easier to compare distances.
scatterplot(qam_modulated_data)
grid on %To make the plot on graph