I have the file "RML2016.10b.dat" and want to extract the data inside it.

11 vues (au cours des 30 derniers jours)
sanjay
sanjay le 5 Mai 2021
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 commentaire
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.

Connectez-vous pour commenter.

Réponses (1)

Asvin Kumar
Asvin Kumar le 10 Mai 2021
It mentions on https://www.deepsig.ai/datasets that the data is stored in a pickle format.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by