フィルターのクリア

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 Center および File ExchangeModulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by