dataset transpose or restructure

2 views (last 30 days)
Rdu
Rdu on 25 Aug 2014
Commented: Yucheng Ma on 2 Sep 2014
Hello everyone,
I am pretty new to Matlab. Does anyone know how to restructure a 'dataset' from one structure to to another? Specially, I have a dataset (data_test in an attached excel file). I want to be a dataset with the structure like 'data_test_outcome.xls' in the attached. I can use SPSS to get it done every easily, but SPSS can handle such restructuring issue only for one dataset each time. It would very inconvenient to do so when I have many datasets or in loops. Therefore, I turn to Matlab.
Your help is highly appreciated!
RDU
  3 Comments
Rdu
Rdu on 27 Aug 2014
Hi Michael,
Thank you! Here are the two datasets.
I appreciate your insights.
Rdu
Yucheng Ma
Yucheng Ma on 2 Sep 2014
By "many datasets" do you mean you have multiple Excel files, or you have many sheets inside one Excel files that you would like to restructure?

Sign in to comment.

Answers (0)

Categories

Find more on Data Import from MATLAB 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!