Get the bitrate from wlanWaveformGenerator()
2 views (last 30 days)
Show older comments
0 Comments
Answers (1)
Arthi Sathyamurthi
on 27 Dec 2021
Hello Peter,
The wlanWaveformGenerator(bits,cfg) function generates a waveform for bits, the specified information bits, and cfg, the physical layer (PHY) format configuration. You can look at the example in this link as a reference. The example generates the waveform based on the PSDU of the specified WLAN HE TB configuration object. The length of the PSDU is obtained in the psduLength variable, in bytes. You can multiply this by 8 to get the PSDU length in bits.
Bit rate is the number of bits that are processed per unit of time (usually in seconds). Hence to obtain the bit rate of the WLAN waveform generated, you can divide the total number of bits processed/total time which in the above example case would be (144*8)/(4320*10^-9) = 266.67 Mbps
See Also
Categories
Find more on Get Started with WLAN Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!