DigComT

Constellation_plot

DirectoryDOS NameType
PlotFnc cnstlplt m-function

Purpose

A constellation plot of the data

Calling Sequence

Constellation_plot(data, Period, ... Phase, title_str, spot)

INPUTS

Input Description
1 data
A vector or matrix of constellation points

Optional INPUTS

Input Description Default Value
2 Period
Period of subset of data to be plotted
1
3 Phase
Phase of subset of data to be plotted
0
4 title_str
String to display as title
[]
5 spot
Mark for plot
'x'

Description

The Constellation_plot() function plots a constellation specified in
the data variable.  Plotting subsets of the constellation is achieve by
specifying the period and phase which are an increment value and a
start index, respectively. Capability to specify the title of the graph
and the type of spot used are also built in.  The type of spot used
follows the convention of the plot() function.

Example

% Assign axis limits and constellation a = [-5 5 -5 5]; c = QAM_constellation(4); subplot(221); % Plot all 16 constellation points Constellation_plot(c, 1, 0, '16 QAM', 'xr'); axis(a); subplot(222); % Plot constellation points indexed by 2, 4, 6, ... Constellation_plot(c, 2, 0, 'Partition A', 'or'); axis(a); subplot(223); % Plot constellation points indexed by 1, 3, 5, ... Constellation_plot(c, 2, 1, 'Partition B', '+r'); axis(a); subplot(224); % Plot both subset together using different spots Constellation_plot(c, 2, 0, '', 'or'); hold on; Constellation_plot(c, 2, 1, 'Partitions A & B', '+r'); axis(a); hold off;
DigComT Manual Table of Contents DigComT Manual Native Intelligence Home

DigComT Licensee: Chris Heegard 
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000

Copyright © 1997-2000, Native Intelligence, All rights reserved.