Convert Tables within a cell into Doubles
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Isabelle Museck
am 3 Jun. 2024
Kommentiert: Voss
am 3 Jun. 2024
Hello there I have a 10x1 cell with 10 tables of data from 10 different trials. I waas wondering if there is a way to convert the tables within the cell to doubles? This is what it looks like right now. I just want it to be a 10x1 cell of 541x2 doubles instead of 541x2 tables. Thank you so much for the help!
0 Kommentare
Akzeptierte Antwort
Voss
am 3 Jun. 2024
Here's one way:
CoPyData = cellfun(@table2array,CoPyData,'UniformOutput',false);
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!