Convert matrix into structure array

2 views (last 30 days)
Igor Jovanovic
Igor Jovanovic on 10 Jan 2017
Commented: Igor Jovanovic on 12 Jan 2017
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 Comments
Walter Roberson
Walter Roberson on 12 Jan 2017
That pricesraw file has 4000 rows of 600 columns, but no headers. I cannot tell what each column corresponds to.
Igor Jovanovic
Igor Jovanovic on 12 Jan 2017
Hi Walter,
Thanks for helping me. Columns are individual stocks[600 stocks] and rows are the dates. It is basically data panel with 600 stock returns over seventeen year period. I hope that it clarifies the data.
Thanks, Igor

Sign in to comment.

Answers (0)

Categories

Find more on Cell Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!