Convert matrix into structure array
古いコメントを表示
Hello everyone,
I am trying to execute a code but it requires data matrix (605x1006x3) to be structure array. How can I convert the matrix into structure array? Here is how the data looks like.

Thanks in advance, Igor
7 件のコメント
James Tursa
2017 年 1 月 10 日
編集済み: James Tursa
2017 年 1 月 10 日
Please post the relevant portions of the code you are using. If you are getting an error message, copy & paste the entire error message (including the offending line of code) for us to see.
Walter Roberson
2017 年 1 月 11 日
How does your 605x1006x3 correspond to the structure array? Does each row correspond to a structure member? Should the columns for each row be broken up between the 9 fields, and if so in what proportion?
I can see how the data in the structure could potentially be reorganized as a 2D array, but I do not see anything there that might correspond to the third dimension ? With the x 3 final dimension that is suggestive that you have an image as input; I do not see anything in the structure array that looks like it might correspond to an image.
Igor Jovanovic
2017 年 1 月 11 日
編集済み: Igor Jovanovic
2017 年 1 月 11 日
Walter Roberson
2017 年 1 月 12 日
Can you attach the dataset you are using for the European stocks (the CRSP data) ?
Igor Jovanovic
2017 年 1 月 12 日
Walter Roberson
2017 年 1 月 12 日
That pricesraw file has 4000 rows of 600 columns, but no headers. I cannot tell what each column corresponds to.
Igor Jovanovic
2017 年 1 月 12 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!