How do i replace the function modem.qammod with the function qammod?
조회 수: 50 (최근 30일)
이전 댓글 표시
For this line of code:
hmod = modem.qammod('M',M, 'SymbolOrder','gray'), where M = 16
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!