I want to change codes
1 view (last 30 days)
Show older comments
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
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.
Answers (1)
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!!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!