Generate scatter plot
scatfig = scatterplot(___)
Figure object of the scatter plot. Use
scatfig to query or modify properties of the figure after it is
created. You can specify any of the input argument combinations from the previous
Create a 64-QAM signal in which each constellation point is used.
d = (0:63)'; s = qammod(d,64);
Display the scatter plot of the constellation.
x— Input signal
Input signal, specified as a vector or matrix.
The interpretation of
x depends on its shape and
x is a real-valued two-column matrix, the function
interprets the first column as in-phase components and the second column as
x is a complex-valued vector, the function interprets
the real part as in-phase components and the imaginary part as quadrature
x is a real-valued vector, the function interprets it as
a real signal.
Complex Number Support: Yes
n— Decimation factor
1(default) | positive integer
Decimation factor, specified as a positive integer. The function plots every
nth value of input signal
x, starting from
its first value.
offset— Offset value
0(default) | nonnegative integer
Offset value, specified as a nonnegative integer. This offset value specifies the
number of samples at the beginning of input
x that the function
skips before generating the scatter plot.
plotstring— Plot attributes
'b.'(default) | character vector | string scalar
Plot attributes, specified as a character vector or string scalar containing symbols.
This argument sets the plotting symbol, line type, and color for the scatter plot.
The format and meaning of the symbols are the same as in the
plot function. For example, the default value
produces blue dots.
scatfig— Target scatterplot
Target scatterplot, specified as a
Figure object for a previously