필터 지우기
필터 지우기

please teach me how to change in 2020 version??

조회 수: 5 (최근 30일)
Choi
Choi 2020년 10월 2일
답변: Walter Roberson 2020년 10월 10일
that codes are 2015 version
hmodem = modem.qammod('M',M, 'SymbolOrder', 'Gray','InputType', 'bit');
hdemodem = modem.qamdemod('M', M,'SymbolOrder','Gray','OutputType','bit');
digMod1 = modulate(hmodem,x(Nt+1:Nt+Nobit,:));
digMod2 = modulate(hmodem,x(Nt+Nobit+1:Nt+2*Nobit,:));
bitb1 = demodulate(hdemodem,sqrt(42)*ytry(inth(1)));
bitb2 = demodulate(hdemodem,sqrt(42)*ytry(inth(2)));
i want to change these codes 2020 version

답변 (2개)

Steven Lord
Steven Lord 2020년 10월 2일
The modem package was removed from Communications Toolbox in release R2019a. We first noted that modem.qammod and modem.qamdemod would be removed in a future release starting in release R2016a and we started issuing warnings about all the functionality in the modem package being removed in release R2018a. See the table in the Release notes for recommended replacements for those functions.
  댓글 수: 6
Choi
Choi 2020년 10월 3일
thank you but, i was outout of whos but, there aren't anything just was output what my code. i want to know what changed modulate and demodulate.
Choi
Choi 2020년 10월 3일
bc modulate changed analog signal but, in 15version used data signal so, i dont understand anything and they dont explained modulate. only analog signal.... i want to know data signal of modulate

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


Walter Roberson
Walter Roberson 2020년 10월 10일
hmodem = modem.qammod('M',M, 'SymbolOrder', 'Gray','InputType', 'bit');
digMod1 = modulate(hmodem,x(Nt+1:Nt+Nobit,:));
digMod2 = modulate(hmodem,x(Nt+Nobit+1:Nt+2*Nobit,:));
should be replaced with
digMod1 = qammod(x(Nt+1:Nt+Nobit,:), M, 'gray', 'InputType', 'bit');
digMod2 = qammod(x(Nt+Nobit+1:Nt+2*Nobit,:), M, 'gray', 'InputType', 'bit');
and
hdemodem = modem.qamdemod('M', M,'SymbolOrder','Gray','OutputType','bit');
bitb1 = demodulate(hdemodem,sqrt(42)*ytry(inth(1)));
bitb2 = demodulate(hdemodem,sqrt(42)*ytry(inth(2)));
should be replaced with
bitb1 = qademod(sqrt(42)*ytry(inth(1)), M, 'gray', 'InputType', 'bit');
bitb2 = qademod(sqrt(42)*ytry(inth(2)), M, 'gray', 'InputType', 'bit');

카테고리

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