understanding modem.gammod and modulate

조회 수: 9 (최근 30일)
matlabcoder
matlabcoder 2018년 4월 9일
댓글: Sajid Sarwar 2021년 4월 27일
I want to convert a Matlab code to C++ code using codegen feature. That specific code uses two unsupported function in C++. One of the workaround was suggested by my professor is to obtain the output of those variables by running them in the command.
I ran the function h=modem.qammod(M) for M= 16
I got,
Type: 'QAM Modulator'
M: 16
PhaseOffset: 0
Constellation: [1x16 double]
SymbolOrder: 'Binary'
SymbolMapping: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
InputType: 'Integer'
Then ran x_0 = modulate(h,[0:M-1]), and got a matrix.
Now I am trying to understand the output of modem.qammod, because I am trying to get ride of it.
So what is the output that it get shoved into modulate(h,..)
  댓글 수: 1
Sajid Sarwar
Sajid Sarwar 2021년 4월 27일
which MATLAB version are you using?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modulation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by