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

23 visualizaciones (últimos 30 días)
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 comentario
Antonio Miguel Mejías Vell´
Antonio Miguel Mejías Vell´ el 31 de Mayo de 2023
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.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by