Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

struct to single conversion for CNN input

3 Ansichten (letzte 30 Tage)
sruthi penmetsa
sruthi penmetsa am 26 Mai 2020
Geschlossen: sruthi penmetsa am 31 Mai 2020
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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by