Hi,
I do not see the line of code you mentioned in the above link, but I assume you are pointing to the following line of code:
inpData(:,bandIdx) = bitsIn;
Here “bitsIn” is defined as a vector of bits (randomly generated) whose size depends upon number of bites per carrier “bitsPerSubCarrier” and “subbandSize”, as follows:
subbandSize = 20;
bitsPerSubCarrier = 4;
bitsIn = randi([0 1], bitsPerSubCarrier*subbandSize, 1);
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/522780-undefined-function-or-variable-bits-umfc-vs-odfm#comment_840601
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/522780-undefined-function-or-variable-bits-umfc-vs-odfm#comment_840601
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/522780-undefined-function-or-variable-bits-umfc-vs-odfm#comment_842920
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/522780-undefined-function-or-variable-bits-umfc-vs-odfm#comment_842920
Sign in to comment.