convert nested struct to matrix
Ältere Kommentare anzeigen
Hi
I have the following struct and would like to convert Stocks_10.Close into a matrix for vectorization

The following worked for equal fields.
stocks_10_cell = [stocks_10.Close]';
The issue is the data in Number 8, insted 757x1, it's 668x1.
I got the error:
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Does someone have a solution?
Thank you
Carsten
1 Kommentar
Dheeraj Singh
am 3 Okt. 2019
Bearbeitet: Dheeraj Singh
am 3 Okt. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Type Conversion 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!