필터 지우기
필터 지우기

Importing to matlab a set of data with the same structure across multiple sheets

조회 수: 1 (최근 30일)
Normally, I don't post such questions since I clean the data in excel first before importing to matlab. However, I have many files reporting data for each state in the US on a separate sheet. I hope matlab codes can save a huge time investment to organize it first before importing to matlab.
I am attaching a file where the SizexState excel file has the same structure of data for each state in the US on a separate sheet. How can import the data of multiple sheets to generate one set of data similar to the output excel file(attached) where two new columns are introduced : one for year and one for state (where the input of the state column=name of the sheet) and the rest of data is the full content of the different sheets. I hope it is not an impossible task but it will really save a month of work.

답변 (1개)

wesso Dadoyan
wesso Dadoyan 2018년 2월 25일
sorry the file wasn't attached in the previous post

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by