convert nested struct to matrix
이전 댓글 표시
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
Dheeraj Singh
2019년 10월 3일
편집: Dheeraj Singh
2019년 10월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!