How can I create a time series of data where each month's data is stored in a structure?

1 view (last 30 days)
So I have a structure of 197 components (each representing one month of regression data. The fields I wish to export into excel are titled mv (which itself is a strcuture where each component has regression data for a different country) and the country and industry rep cells which are logicals that say which countries/industries are represented. I need to create a time series of the data stored in the structure, and I figured importing it into excel first might be easier. Does anyone have any thoughts about the smartest way to do this? Here is the code for the structures:
regression_structure(i).rep_industries = industry_rep_cell; regression_structure(i).rep_countries = country_rep_array; regression_structure(i).all_industries = u_industries; regression_structure(i).all_countries = u_country_codes; regression_structure(i).beta_multi = {mv};
This code is in a for loop which will loop 197 times for each month of data we are using.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!