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´
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
Asvin Kumar 2021-5-10
It mentions on https://www.deepsig.ai/datasets that the data is stored in a pickle format.

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by