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!