I have the file "RML2016.10b.dat" and want to extract the data inside it.
11 次查看(过去 30 天)
显示 更早的评论
I tried it by two ways:
A=importdata('RML2016.10b.dat')
and secondly using direct import file option.
but in both case the I am failing to do so.
Any help and guidance will be appreciated. Thanks in advance
PS. The data set can be found at https://www.deepsig.ai/datasets
1 个评论
Antonio Miguel Mejías Vell´
2023-5-31
I had the same problem. I solved it by using Python 3.x.x.
First you will need numpy an pickles library so:
"import numpy as np
import pickle
while open("RML2016.10b.dat",'rb') as f:
RML2016_data = pickle.load(f, encoding='latin1')
snrs,mods = map(lambda j: sorted(list(set(map(lambda x: x[j], RML2016_data.keys())))), [1,0])
"
But I recommend you to see RadioML examples on GitHub for further information.
回答(1 个)
Asvin Kumar
2021-5-10
@Juhi Singh's answer should give you an idea of how to use this data in MATLAB. https://www.mathworks.com/matlabcentral/answers/580872-reading-from-dump-or-pickle-file-and-other-files#answer_482648
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!