How do i replace the function modem.qammod with the function qammod?

26 次查看(过去 30 天)
For this line of code:
hmod = modem.qammod('M',M, 'SymbolOrder','gray'), where M = 16

采纳的回答

Arthi Sathyamurthi
Arthi Sathyamurthi 2021-7-22
Hello Sanket,
To modulate an input signal x by using QAM with the specified modulation order M and the symbol order symOrder use the qammod function in the following format.
y = qammod(x,M,symOrder)
You can use the following code corresponding to the function specified by you,
% x is the signal you wish to modulate
M = 16;
hmod = qammod(x,M,'gray');
% The default symbol order is gray, so you can remove if you don’t want to specify it explicitly

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modulation 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by