Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

constellation

理想的な信号コンスタレーションの計算またはプロット

説明

symbols = constellation(obj) は、コンスタレーションの数値を返します。

constellation(obj) はオブジェクトのコンスタレーション プロットを生成します。

メモ

OQPSK の場合、表示されるコンスタレーションには、OQPSK 変調器によって生じる IQ 遅延は描かれません。

すべて折りたたむ

QPSK 変調器を作成します。

mod = comm.QPSKModulator;

基準コンスタレーション点を決定します。

refC = constellation(mod)
refC = 4×1 complex

   0.7071 + 0.7071i
  -0.7071 + 0.7071i
  -0.7071 - 0.7071i
   0.7071 - 0.7071i

コンスタレーションをプロットします。

constellation(mod)

Figure contains an axes object. The axes object with title Constellation: QPSK,Gray Mapping,PhaseOffset=0.7854rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 7 objects of type line, text. One or more of the lines displays its values using only markers

オブジェクトをビット入力用に再構成し、コンスタレーションをプロットして、グレイ符号化されたマッピングのバイナリ値を表示します。

release(mod)
mod.BitInput = true; 
constellation(mod)

Figure contains an axes object. The axes object with title Constellation: QPSK,Gray Mapping,PhaseOffset=0.7854rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 7 objects of type line, text. One or more of the lines displays its values using only markers

位相オフセットが 0 に設定された QPSK 復調器を作成します。

demod = comm.QPSKDemodulator(0);

基準コンスタレーションをプロットします。constellation メソッドは、変調器オブジェクトと復調器オブジェクトの両方に働きます。

constellation(demod)

Figure contains an axes object. The axes object with title Constellation: QPSK,Gray Mapping,PhaseOffset=0rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 7 objects of type line, text. One or more of the lines displays its values using only markers

PSK 変調器を作成します。

mod = comm.PSKModulator;

基準コンスタレーション点を決定します。

refC = constellation(mod)
refC = 8×1 complex

   0.9239 + 0.3827i
   0.3827 + 0.9239i
  -0.3827 + 0.9239i
  -0.9239 + 0.3827i
  -0.9239 - 0.3827i
  -0.3827 - 0.9239i
   0.3827 - 0.9239i
   0.9239 - 0.3827i

コンスタレーションをプロットします。

constellation(mod)

Figure contains an axes object. The axes object with title Constellation: 8-PSK,Gray Mapping,PhaseOffset=0.3927rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 11 objects of type line, text. One or more of the lines displays its values using only markers

変調次数 16 の PSK 復調器を作成します。

demod = comm.PSKDemodulator(16);

その基準コンスタレーションをプロットします。constellation メソッドは、変調器オブジェクトと復調器オブジェクトの両方に働きます。

constellation(demod)

Figure contains an axes object. The axes object with title Constellation: 16-PSK,Gray Mapping,PhaseOffset=0.3927rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 19 objects of type line, text. One or more of the lines displays its values using only markers

BPSK 変調器を作成します。

mod = comm.BPSKModulator;

基準コンスタレーション点を決定します。

refC = constellation(mod)
refC = 2×1 complex

   1.0000 + 0.0000i
  -1.0000 + 0.0000i

コンスタレーションをプロットします。

constellation(mod)

Figure contains an axes object. The axes object with title Constellation: BPSK,PhaseOffset=0rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 5 objects of type line, text. One or more of the lines displays its values using only markers

位相オフセットが π2 に設定された BPSK 復調器を作成します。

demod = comm.BPSKDemodulator(pi/2);

基準コンスタレーション点を決定します。

refC = constellation(demod)
refC = 2×1 complex

   0.0000 + 1.0000i
  -0.0000 - 1.0000i

基準コンスタレーションをプロットします。constellation メソッドは、変調器オブジェクトと復調器オブジェクトの両方に働きます。

constellation(demod)

Figure contains an axes object. The axes object with title Constellation: BPSK,PhaseOffset=1.5708rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 5 objects of type line, text. One or more of the lines displays its values using only markers

OQPSK 変調器を作成します。

mod = comm.OQPSKModulator;

基準コンスタレーション点を決定します。表示されるコンスタレーションには、OQPSK 変調器によって生じる IQ 遅延は描かれません。

refC = constellation(mod)
refC = 4×1 complex

   0.7071 + 0.7071i
  -0.7071 + 0.7071i
  -0.7071 - 0.7071i
   0.7071 - 0.7071i

コンスタレーションをプロットします。

constellation(mod)

Figure contains an axes object. The axes object with title Constellation: OQPSK,Gray Mapping,PhaseOffset=0rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 7 objects of type line, text. One or more of the lines displays its values using only markers

変調シンボルの位相オフセットを変更します。コンスタレーションをプロットして、回転させたコンスタレーション点を表示します。

release(mod)
mod.PhaseOffset = 45*pi/180; 
constellation(mod)

Figure contains an axes object. The axes object with title Constellation: OQPSK,Gray Mapping,PhaseOffset=0.7854rad, xlabel In-phase Amplitude, ylabel Quadrature Amplitude contains 7 objects of type line, text. One or more of the lines displays its values using only markers

入力引数

すべて折りたたむ

コンスタレーションを返す System object。変調器 System object として指定します。

データ型: object

出力引数

すべて折りたたむ

コンスタレーション点。複素数ベクトルとして返されます。

データ型: double | single
複素数のサポート: あり

バージョン履歴

R2012a で導入