- Go to the Simulink model of QPSK Transmitter.
- Double click on the bit generation block.
- Look at the properties of "Signal from Workspace" block.
- A parameter named "Samples per frame" will contain the information on number of bits transmitted.
QPSK Transmitter and Receiver in Simulink example question
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello everyone,
I am trying to study on how can I simulate the digital communication using this example "QPSK Transmitter and Receiver in Simulink".
I don't understand why in the example use data bit 2240 bits for 20 "Hello world ###" or 112 bits/message?
For my understanding. Each message is 15 char long (including 2 spaces) and ASCII characters are typically represented using 8 bits (1 byte) of information.
So, It should be 8*15 = 120 bits/ message ?
There is any reason for this? or I just misunderstood the ASCII representation concept?
Best Regards,
Fumihiko Sato
댓글 수: 0
채택된 답변
Naren
2023년 2월 28일
The original ASCII table is encoded on 7 bits and extended ASCII table uses 8-bit representation. However, in this example as the text doesn't contain any extended ASCII characters 7 bits are used.
Follow the steps to find out the bit representation used:
You can try changing the bit representation to 8 bits by editing the 'Samples per frame' parameter.
The length of the text is not 15, it will be 16 which includes the end character.
length = 16;
ASCII_bit_representation = 7;
thats '16*7 = 112 bits/message'.
no_of_messages = 20;
no_of_bits = 20*112 = 2240 bits.
Hope this resolves your problem.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 QPSK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!