メインコンテンツ

constellation

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

説明

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

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

メモ

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

すべて折りたたむ

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

comm.PAMModulator System object および comm.PAMDemodulator System object を作成し、次にそれらの理想的な信号コンスタレーションを計算します。

変調器オブジェクトと復調器オブジェクトを作成します。

mod = comm.PAMModulator;
demod = comm.PAMModulator;

コンスタレーション点を計算します。

refMod = constellation(mod)
refMod = 4×1

    -3
    -1
     1
     3

refDemod = constellation(demod)
refDemod = 4×1

    -3
    -1
     1
     3

両方のオブジェクトが同じ点を生成していることを検証します。

isequal(refMod,refDemod)
ans = logical
   1

理想的な信号コンスタレーションを表示します。

constellation(mod)

Figure contains an axes object. The axes object with title Constellation: 4-PAM,Gray Mapping,Min.Dist=2, 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 で導入