주요 콘텐츠

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를 생성한 후 이상적인 신호 성상도를 계산합니다.

modulator 객체와 demodulator 객체를 생성합니다.

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에 개발됨