I want to change codes

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)));
How can i change in 2020 version??

2 Comments

Please don't start a new discussion thread for the same question as in your previous question. Add comments with more information to that previous question.
Sorry, i was sensitive to know. i dont do it again

Sign in to comment.

Answers (1)

Here is the updated code for the 2020 version:
digMod1 = hmodem.modulate(x(Nt+1:Nt+Nobit,:));
digMod2 = hmodem.modulate(x(Nt+Nobit+1:Nt+2*Nobit,:));
bitb1 = hdemodem.demodulate(sqrt(42)*ytry(inth(1)));
bitb2 = hdemodem.demodulate(sqrt(42)*ytry(inth(2)));
Try and see if it works!!

Categories

Products

Release

R2020b

Asked:

on 2 Oct 2020

Answered:

on 21 Jun 2023

Community Treasure Hunt

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

Start Hunting!