I want to change codes

2 views (last 30 days)
Choi
Choi on 2 Oct 2020
Answered: Anavi Somani on 21 Jun 2023
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
Steven Lord
Steven Lord on 2 Oct 2020
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.
Choi
Choi on 3 Oct 2020
Sorry, i was sensitive to know. i dont do it again

Sign in to comment.

Answers (1)

Anavi Somani
Anavi Somani on 21 Jun 2023
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

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!