Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

struct to single conversion for CNN input

조회 수: 3 (최근 30일)
sruthi penmetsa
sruthi penmetsa 2020년 5월 26일
마감: sruthi penmetsa 2020년 5월 31일
Hi,
I am trying to implement CNN on csi data. I have read the .mat files into imds and updated readFcn1 function to read csi data..
The problem is i am getting an error::
net = trainNetwork(imdsTrain,layers,options);
Caused by:
Error using cast
Conversion to single from struct is not possible.
my updated readFcn is ::
function I = readFcn1(digitDatasetPath)
I = load(digitDatasetPath);
I = I.csi_trace;
end
can anyone please help me with the error.
Thanks in advance.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by