After running a script the product is three separately named 1x1 cells that open to 77x1 doubles, when loading it how do I skip the cell and go to the matrix immediately for all three variables?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
jfrazie9
am 27 Nov. 2017
Beantwortet: Star Strider
am 27 Nov. 2017
After running a script the product is three separately named 1x1 cells that open to 77x1 doubles, when loading it how do I skip the cell and go to the matrix immediately for all three variables? I am trying to keep the file name the same just convert the cells to doubles so I can open them and combine with other doubles.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 27 Nov. 2017
See if this does what you want:
C{1} = rand(77,1); % Create Data
C{2} = rand(77,1); % Create Data
C{3} = rand(77,1); % Create Data
A = cell2mat(C); % Matrix Output
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Cell Arrays 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!