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

조회 수: 21 (최근 30일)
sanjay
sanjay 2021년 5월 5일
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´
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
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