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?
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Ajay Pattassery
2019-12-30
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 个评论
Ajay Pattassery
2020-1-6
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Test and Measurement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!