How can I create a structure array for two files?
Ältere Kommentare anzeigen
I want to add the following into a structure array
the name of structure array is ECGData as follows

conssists of the following

How can I add the two fields(Data as a matrix array & Labels as cell array) into ECGData
6 Kommentare
Rik
am 26 Mai 2020
You mean ECGData should be a 162x1 array with a scalar cell Label and a 1x65536 double Data?
Dhiyaa Al-Shammari
am 26 Mai 2020
Rik
am 26 Mai 2020
That does not match what I said. You already have a 1x1 struct with fields with the sizes you describe. My question was if you want a 162x1 struct instead.
Dhiyaa Al-Shammari
am 26 Mai 2020
Rik
am 26 Mai 2020
What is your question? You want a struct with these two fields, and you have a struct with these two fields.
Dhiyaa Al-Shammari
am 26 Mai 2020
Bearbeitet: Dhiyaa Al-Shammari
am 26 Mai 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!