How can I create a time series of data where each month's data is stored in a structure?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!