i collected data from a spectrum analyzer and it saved as a .mat file. I confirmed that the signals I collected are baseband signals. Do I still need to create a .bb format file from this data? How is the .mat file different from the .bb file?
6 views (last 30 days)
Show older comments
I collected data of a bluetooth device using a spectrum analyzer. I saved the data as a .mat file to be used in MATLAB. I am trying to use the Communication library to analyze the data. Using the library, I have run across .bb files and most of the communications examples I have seen have used .bb files instead of just the .mat file. What is the difference? My data is already in baseband, do I need to still convert my .mat files to .bb files?
Also, in using the bluetooth toolbox, I have seen in the example that (https://www.mathworks.com/help/comm/examples/bluetooth-low-energy-receiver.html) OQPSK was the modulation type used. Bluetooth utilizes GFSK. Why is OQPSK used in the analysis?
0 Comments
Answers (1)
Ajay Pattassery
on 30 Dec 2019
It is not mandatory to save base band signal in the .bb format.
comm.BasebandFileWriter object store the base band signals in .bb format.
This object associate properties like Sample rate, Center Frequency, meta data which can be any numeric, logical or character data type and with any number of dimensions.
This additional information that can be associated with the base band signal helps during further data processing whereas with the .mat file with just the base band data, the associated properties needs to stored and tracked separately.
In the Bluetooth Low Energy example link provided, GMSK demodulation is done to retrieve the data bits.
% Extract message information
[cfgLLAdv,pktCnt,crcCnt,remStartIdx] = helperBLEPhyBitRecover(rcvFilt,...
prbIdx,pktCnt,crcCnt,bleParam);
In the above part, the helperBLEPhyBitRecover function uses GMSK demodulator for demodulation.
3 Comments
Ajay Pattassery
on 6 Jan 2020
OQPSK and GMSK are almost similar, with the difference being the baseband rectangular pulses in OQPSK are replaced with half-sinusoidal pulses in GMSK, the coarse frequency compensator works well.
See Also
Categories
Find more on Test and Measurement 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!