understanding modem.gammod and modulate

6 vues (au cours des 30 derniers jours)
matlabcoder
matlabcoder le 9 Avr 2018
Commenté : Sajid Sarwar le 27 Avr 2021
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 commentaire
Sajid Sarwar
Sajid Sarwar le 27 Avr 2021
which MATLAB version are you using?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by