- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Fumihiko Sato
el 14 de Feb. de 2023
Comentada: Fumihiko Sato
el 1 de Mzo. de 2023
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 comentarios
Respuesta aceptada
Naren
el 28 de Feb. de 2023
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre QPSK en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!